Displaying 1 result from an estimated 1 matches for "97900a0d".
Did you mean:
97900000
2010 Mar 04
1
[LLVMdev] Doubt with GVNPRE
Hi,
I have a program as:
int main(int argc, char **argv)
{
int a,b,k,l;
scanf("%d%d",&a,&b);
if (argc > 1) {
k=a+b;
} else {
k=5;
}
l=a+b;
printf("%d,%d",k,l);
return 0;
}
Now i run the following on it:
llvm-gcc -O1 -emit-llvm -c -o 1.bc 1.c
llvm-dis 1.bc -o 1.ll
opt