aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-05 19:54:59 +0000
committerEric Christopher <echristo@apple.com>2010-08-05 19:54:59 +0000
commitda93b2cb8f84d008823828f114287be147646f73 (patch)
tree4fe46ceea51c2daf171928611a5a85753dd63882 /lib
parente3ede5e2e4de6d028956c0b75c6bfa17ec50cc09 (diff)
downloadexternal_llvm-da93b2cb8f84d008823828f114287be147646f73.zip
external_llvm-da93b2cb8f84d008823828f114287be147646f73.tar.gz
external_llvm-da93b2cb8f84d008823828f114287be147646f73.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86Instr64bit.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td
index 4e2710b..408da43 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}",