Displaying 2 results from an estimated 2 matches for "2fae2532".
2016 Mar 02
2
Why LLVM cannot optimize this?
test.c :
-----------------------------------------------------------------------
int foo(int a)
{
int zero = 0;
for (int i = 0; i < 10000; i++)
zero *= a;
return zero;
}
-------------------------------------------------------------------------
run clang : clang -O2 -S test.c -o test.s
My clang version is 3.7.1.
We will get a horrible assembly output.
Why constant propagation and
2016 Mar 02
2
Why LLVM cannot optimize this?
..._________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160302/2fae2532/attachment.html>