aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/ARM/ARMNaClRewritePass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMNaClRewritePass.cpp b/lib/Target/ARM/ARMNaClRewritePass.cpp
index 497baebec8..505521cdc6 100644
--- a/lib/Target/ARM/ARMNaClRewritePass.cpp
+++ b/lib/Target/ARM/ARMNaClRewritePass.cpp
@@ -461,6 +461,7 @@ static bool IsDangerousLoad(const MachineInstr &MI, int *AddrIdx) {
case ARM::LDREX:
case ARM::LDREXB:
case ARM::LDREXH:
+ case ARM::LDREXD:
*AddrIdx = 1;
break;
@@ -1040,6 +1041,7 @@ static bool IsDangerousStore(const MachineInstr &MI, int *AddrIdx) {
case ARM::STREX:
case ARM::STREXB:
case ARM::STREXH:
+ case ARM::STREXD:
*AddrIdx = 2;
break;
}