[llvm-commits] [llvm] r45618 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Chris Lattner
sabre at nondot.org
Fri Jan 4 19:54:32 PST 2008
Author: lattner
Date: Fri Jan 4 21:54:32 2008
New Revision: 45618
URL: http://llvm.org/viewvc/llvm-project?rev=45618&view=rev
Log:
getting the pic base has no side effects.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=45618&r1=45617&r2=45618&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Fri Jan 4 21:54:32 2008
@@ -282,8 +282,10 @@
def NOOP : I<0x90, RawFrm, (outs), (ins), "nop", []>;
// PIC base
+let neverHasSideEffects = 1 in {
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins piclabel:$label),
"call\t$label\n\tpop{l}\t$reg", []>;
+}
//===----------------------------------------------------------------------===//
// Control Flow Instructions...
More information about the llvm-commits
mailing list