1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Fix comment.

llvm-svn: 45638
This commit is contained in:
Bill Wendling 2008-01-05 23:30:51 +00:00
parent 60aa495a41
commit 703a1fc174

View File

@ -173,8 +173,7 @@ bool X86InstrInfo::isReallySideEffectFree(MachineInstr *MI) const {
unsigned Reg = MI->getOperand(1).getReg();
const X86Subtarget &ST = TM.getSubtarget<X86Subtarget>();
// Loads from global addresses which aren't redefined in the function are
// side effect free.
// Loads from stubs of global addresses are side effect free.
if (Reg != 0 && MRegisterInfo::isVirtualRegister(Reg) &&
MI->getOperand(2).isImm() && MI->getOperand(3).isReg() &&
MI->getOperand(4).isGlobal() &&