summaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-28 03:11:32 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-28 03:11:32 +0000
commit36d29bc72345d882623b001c2692b9246a19688a (patch)
tree49a7f2440838b5a7c679f3cb6125268f55e19126 /test/CodeGen/Hexagon
parentcff9baa95273bc279bf5fadb9e27afbd25cca20b (diff)
downloadllvm-36d29bc72345d882623b001c2692b9246a19688a.tar.gz
llvm-36d29bc72345d882623b001c2692b9246a19688a.tar.bz2
llvm-36d29bc72345d882623b001c2692b9246a19688a.tar.xz
Remove extra MayLoad/MayStore flags from atomic_load/store.
These extra flags are not required to properly order the atomic load/store instructions. SelectionDAGBuilder chains atomics as if they were volatile, and SelectionDAG::getAtomic() sets the isVolatile bit on the memory operands of all atomic operations. The volatile bit is enough to order atomic loads and stores during and after SelectionDAG. This means we set mayLoad on atomic_load, mayStore on atomic_store, and mayLoad+mayStore on the remaining atomic read-modify-write operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Hexagon')
-rw-r--r--test/CodeGen/Hexagon/newvaluejump.ll3
-rw-r--r--test/CodeGen/Hexagon/newvaluestore.ll3
2 files changed, 0 insertions, 6 deletions
diff --git a/test/CodeGen/Hexagon/newvaluejump.ll b/test/CodeGen/Hexagon/newvaluejump.ll
index 03d36de295..9c7ca55cb8 100644
--- a/test/CodeGen/Hexagon/newvaluejump.ll
+++ b/test/CodeGen/Hexagon/newvaluejump.ll
@@ -1,7 +1,4 @@
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
-; XFAIL: *
-; This is xfailed into we have atomic load pseudos. PR13693.
-
; Check that we generate new value jump.
@i = global i32 0, align 4
diff --git a/test/CodeGen/Hexagon/newvaluestore.ll b/test/CodeGen/Hexagon/newvaluestore.ll
index a876a94967..ab69b22df5 100644
--- a/test/CodeGen/Hexagon/newvaluestore.ll
+++ b/test/CodeGen/Hexagon/newvaluestore.ll
@@ -1,7 +1,4 @@
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
-; XFAIL: *
-; This is xfailed into we have atomic load pseudos. PR13693.
-
; Check that we generate new value store packet in V4
@i = global i32 0, align 4