Add mayLoad/mayStore markings to ARM 64-bit atomic pseudo-instructions.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 6 Sep 2011 20:53:37 +0000 (20:53 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 6 Sep 2011 20:53:37 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139179 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 9806d058a31abd478ceccdc0864876cef655606a..429fe9e3bd64c551ab09e27f263503dd6c741d9d 100644 (file)
@@ -1611,7 +1611,7 @@ PseudoInst<(outs), (ins i32imm:$amt, pred:$p), NoItinerary,
 
 // Atomic pseudo-insts which will be lowered to ldrexd/strexd loops.
 // (These psuedos use a hand-written selection code).
-let usesCustomInserter = 1, Defs = [CPSR] in {
+let usesCustomInserter = 1, Defs = [CPSR], mayLoad = 1, mayStore = 1 in {
 def ATOMOR6432   : PseudoInst<(outs GPR:$dst1, GPR:$dst2),
                               (ins GPR:$addr, GPR:$src1, GPR:$src2),
                               NoItinerary, []>;