[llvm-commits] [llvm] r110369 - /llvm/trunk/lib/Target/X86/X86Instr64bit.td
Eric Christopher
echristo at apple.com
Thu Aug 5 12:54:59 PDT 2010
Author: echristo
Date: Thu Aug 5 14:54:59 2010
New Revision: 110369
URL: http://llvm.org/viewvc/llvm-project?rev=110369&view=rev
Log:
Set hasSideEffects on the 64-bit no-sse memory barrier.
Modified:
llvm/trunk/lib/Target/X86/X86Instr64bit.td
Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=110369&r1=110368&r2=110369&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Thu Aug 5 14:54:59 2010
@@ -1620,7 +1620,7 @@
//===----------------------------------------------------------------------===//
// TODO: Get this to fold the constant into the instruction.
-let Defs = [ESP] in
+let hasSideEffects = 1, Defs = [ESP] in
def Int_MemBarrierNoSSE64 : RI<0x09, MRM1r, (outs), (ins GR64:$zero),
"lock\n\t"
"or{q}\t{$zero, (%rsp)|(%rsp), $zero}",
More information about the llvm-commits
mailing list