summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-06 20:53:37 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-06 20:53:37 +0000
commitfc4b343ddab7a34fc41c849d16f0065bad27a5a6 (patch)
tree9f835852ee08a9176f77a72158a5210f79c99d9f /llvm/lib
parent49695f078e3d7eaacdaa46fb994df7323a294a56 (diff)
downloadbcm5719-llvm-fc4b343ddab7a34fc41c849d16f0065bad27a5a6.tar.gz
bcm5719-llvm-fc4b343ddab7a34fc41c849d16f0065bad27a5a6.zip
Add mayLoad/mayStore markings to ARM 64-bit atomic pseudo-instructions.
llvm-svn: 139179
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 9806d058a31..429fe9e3bd6 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -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, []>;
OpenPOWER on IntegriCloud