mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Fix comment.
llvm-svn: 45638
This commit is contained in:
parent
60aa495a41
commit
703a1fc174
@ -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() &&
|
||||
|
Loading…
Reference in New Issue
Block a user