[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 14 08:45:53 PST 2005
Changes in directory llvm/test/Regression/CodeGen/CBackend:
2005-02-14-VolatileOperations.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
2005-02-14-VolatileOperations.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
diff -c /dev/null llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll:1.1
*** /dev/null Mon Feb 14 10:45:48 2005
--- llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll Mon Feb 14 10:45:38 2005
***************
*** 0 ****
--- 1,7 ----
+ ; 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
+ }
More information about the llvm-commits
mailing list