search for: 606c2416

Displaying 1 result from an estimated 1 matches for "606c2416".

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