From da93b2cb8f84d008823828f114287be147646f73 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 5 Aug 2010 19:54:59 +0000 Subject: [PATCH] Set hasSideEffects on the 64-bit no-sse memory barrier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110369 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86Instr64bit.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index 4e2710b2ee5..408da43a794 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -1620,7 +1620,7 @@ def MOV64FSrm : RI<0x8B, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$src), //===----------------------------------------------------------------------===// // 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}",