Displaying 1 result from an estimated 1 matches for "hiroel".
Did you mean:
hire
2012 Mar 29
1
[LLVMdev] Problem recognizing nested select operations
Hello all,
I just noticed that LLVM has trouble recognizing nested simple select
operations.
My testcase is as follows:
-------------------------- snip ------------------------------
#include <stdio.h>
int main(int argc, char **argv)
{
int a;
scanf("%d", &a);
a = a > 255 ? 255 : a < 0 ? 0 : a;
printf("A: %d\n", a);
return 0;
}