aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll')
-rw-r--r--test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll b/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
index e161e46..12c8790 100644
--- a/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
+++ b/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
@@ -1,7 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep volatile
+; RUN: llvm-as < %s | llc -march=c | grep volatile
-void %test(int* %P) {
- %X = volatile load int*%P
- volatile store int %X, int* %P
- ret void
+define void @test(i32* %P) {
+ %X = volatile load i32* %P ; <i32> [#uses=1]
+ volatile store i32 %X, i32* %P
+ ret void
}
+