aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/ScalarRepl/volatile.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ScalarRepl/volatile.ll')
-rw-r--r--test/Transforms/ScalarRepl/volatile.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/ScalarRepl/volatile.ll b/test/Transforms/ScalarRepl/volatile.ll
index ab276b043e..fadf1aa276 100644
--- a/test/Transforms/ScalarRepl/volatile.ll
+++ b/test/Transforms/ScalarRepl/volatile.ll
@@ -4,9 +4,9 @@
define i32 @voltest(i32 %T) {
%A = alloca {i32, i32}
%B = getelementptr {i32,i32}* %A, i32 0, i32 0
- volatile store i32 %T, i32* %B
+ store volatile i32 %T, i32* %B
%C = getelementptr {i32,i32}* %A, i32 0, i32 1
- %X = volatile load i32* %C
+ %X = load volatile i32* %C
ret i32 %X
}