[llvm-branch-commits] [llvm-branch] r104347 - /llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td
Daniel Dunbar
daniel at zuster.org
Fri May 21 12:06:18 PDT 2010
Author: ddunbar
Date: Fri May 21 14:06:18 2010
New Revision: 104347
URL: http://llvm.org/viewvc/llvm-project?rev=104347&view=rev
Log:
Set neverHasSideEffects on 64-bit pushf and popf, for consistency with 16-bit and 32-bit pushf and popf.
Modified:
llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td
Modified: llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td?rev=104347&r1=104346&r2=104347&view=diff
==============================================================================
--- llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/branches/Apple/whitney/lib/Target/X86/X86Instr64bit.td Fri May 21 14:06:18 2010
@@ -274,9 +274,9 @@
"push{q}\t$imm", []>;
}
-let Defs = [RSP, EFLAGS], Uses = [RSP], mayLoad = 1 in
+let Defs = [RSP, EFLAGS], Uses = [RSP], mayLoad = 1, neverHasSideEffects=1 in
def POPFQ : I<0x9D, RawFrm, (outs), (ins), "popf{q}", []>, REX_W;
-let Defs = [RSP], Uses = [RSP, EFLAGS], mayStore = 1 in
+let Defs = [RSP], Uses = [RSP, EFLAGS], mayStore = 1, neverHasSideEffects=1 in
def PUSHFQ64 : I<0x9C, RawFrm, (outs), (ins), "pushf{q}", []>;
def LEA64_32r : I<0x8D, MRMSrcMem,
More information about the llvm-branch-commits
mailing list