From f995830dafb8a20aa14f6b055af79253c9368303 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 5 Jan 2008 23:30:51 +0000 Subject: [PATCH] Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45638 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 9d714279684..c19827e7523 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -173,8 +173,7 @@ bool X86InstrInfo::isReallySideEffectFree(MachineInstr *MI) const { unsigned Reg = MI->getOperand(1).getReg(); const X86Subtarget &ST = TM.getSubtarget(); - // 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() &&