[llvm-commits] [llvm] r80265 - /llvm/trunk/lib/VMCore/Value.cpp

Chris Lattner clattner at apple.com
Thu Aug 27 22:01:09 PDT 2009


On Aug 27, 2009, at 3:40 PM, Dan Gohman wrote:

>>
>> Shouldn't a alias constant-fold to the pointed-to global if it can't
>> be overridden?
>
> Right now only GlobalOpt does this, and not everyone uses
> GlobalOpt. I could be convinced that Instcombine should
> do this though. Does anyone have a strong opinion?

Instcombine a functionpass, which shouldn't hack on globals.

-Chris



More information about the llvm-commits mailing list