diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-12 22:50:01 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-12 22:50:01 +0000 |
commit | f03bb260c90ad013aa4e55af36382875011c95b8 (patch) | |
tree | 6d554ebcc06bd6d3509a7808029994c894d002d3 /test/Transforms/SimplifyCFG | |
parent | 10342123adec62151bf9060493dd13583c67ae52 (diff) | |
download | external_llvm-f03bb260c90ad013aa4e55af36382875011c95b8.zip external_llvm-f03bb260c90ad013aa4e55af36382875011c95b8.tar.gz external_llvm-f03bb260c90ad013aa4e55af36382875011c95b8.tar.bz2 |
Move "atomic" and "volatile" designations on instructions after the opcode
of the instruction.
Note that this change affects the existing non-atomic load and store
instructions; the parser now accepts both forms, and the change is noted
in the release notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
-rw-r--r-- | test/Transforms/SimplifyCFG/trapping-load-unreachable.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll b/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll index 7bca5f5..ebf4f17 100644 --- a/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll +++ b/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll @@ -11,14 +11,14 @@ entry: br i1 %0, label %bb, label %return bb: ; preds = %entry - %1 = volatile load i32* null + %1 = load volatile i32* null unreachable br label %return return: ; preds = %entry ret void ; CHECK: @test1 -; CHECK: volatile load +; CHECK: load volatile } ; rdar://7958343 @@ -35,10 +35,10 @@ entry: ; PR7369 define void @test3() nounwind { entry: - volatile store i32 4, i32* null + store volatile i32 4, i32* null ret void ; CHECK: @test3 -; CHECK: volatile store i32 4, i32* null +; CHECK: store volatile i32 4, i32* null ; CHECK: ret } |