Change -arm-divmod-libcall to a target neutral option.
[oota-llvm.git] / test / CodeGen / CBackend / 2005-02-14-VolatileOperations.ll
index b6089d1d19ac49a859a598714ec49b90ec5e7be3..dd505af4831b715cf01b9c9470a3fc9051d4c62b 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | llc -march=c | grep volatile
+; RUN: llc < %s -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
 }
+