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
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to