Displaying 1 result from an estimated 1 matches for "1002885".
2009 Mar 07
7
[LLVMdev] global question
Below is some C code and its LLVM translation (using a recent rev). The
compiler goes ahead and loads from x in main, but it seems clear that a
constant propagation pass could have inferred that x is 0. In fact that
is what happens if x is static, but in this case I cannot see how
external linkage of x would invalidate that optimization.
This is one of those optimizations that would not be