search for: ae1a8bdc

Displaying 3 results from an estimated 3 matches for "ae1a8bdc".

2013 Jan 04
0
[LLVMdev] Compiler opt is turned off ?
Since a, b, and c are globals, how does the optimize *know* they are not used elsewhere (e.g. another module)? On Fri, Jan 4, 2013 at 7:49 AM, Somenath Chakraborty <some.chak at gmail.com>wrote: > Hello, > > I was trying to run few testcases and see how llvm optmizes different > scenarios. I have a small testcase like: > > > #include <stdio.h> > > >
2013 Jan 04
2
[LLVMdev] Compiler opt is turned off ?
...ki at gmail.com> wrote: > Since a, b, and c are globals, how does the optimize *know* they are not > used elsewhere (e.g. another module)? > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130104/ae1a8bdc/attachment.html>
2013 Jan 04
2
[LLVMdev] Compiler opt is turned off ?
Hello, I was trying to run few testcases and see how llvm optmizes different scenarios. I have a small testcase like: #include <stdio.h> int a, b, c; int main() { a = b + c; c = a; if (a == b) b = c; else b = a; printf( " a = %d \n ", a ); return 0; } The corresponding llvm IR is ( clang test.c -S -emit-llvm -o -