[llvm-commits] [llvm] r45638 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Bill Wendling
isanbard at gmail.com
Sat Jan 5 15:30:51 PST 2008
Author: void
Date: Sat Jan 5 17:30:51 2008
New Revision: 45638
URL: http://llvm.org/viewvc/llvm-project?rev=45638&view=rev
Log:
Fix comment.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=45638&r1=45637&r2=45638&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Sat Jan 5 17:30:51 2008
@@ -173,8 +173,7 @@
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() &&
More information about the llvm-commits
mailing list