[llvm-commits] [llvm] r45626 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Chris Lattner
clattner at apple.com
Sun Jan 6 22:20:04 PST 2008
On Jan 6, 2008, at 6:45 PM, Evan Cheng wrote:
> By the way. This check is still not quite right.
>
> // Loads from stubs of global addresses are side effect free.
> if (Reg != 0 && MRegisterInfo::isVirtualRegister(Reg) &&
>
> In dynamic-no-pic mode, Reg can be 0. So it should be Reg == 0 || ...
Why is this code even looking at that operand?
-Chris
More information about the llvm-commits
mailing list