mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19033bf7f8
commit
f995830daf
@ -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…
x
Reference in New Issue
Block a user