[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 27 13:52:41 PDT 2005
Changes in directory llvm/test/Regression/CodeGen/CBackend:
2005-09-27-VolatileFuncPtr.ll added (r1.1)
---
Log message:
new testcase the CBE creates invalid C code for
---
Diffs of the changes: (+10 -0)
2005-09-27-VolatileFuncPtr.ll | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
diff -c /dev/null llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll:1.1
*** /dev/null Tue Sep 27 15:52:40 2005
--- llvm/test/Regression/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll Tue Sep 27 15:52:30 2005
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=c &&
+ ; RUN: llvm-as < %s | llc -march=c | grep '\* *volatile *\*'
+
+ %G = external global void()*
+
+ void %test() {
+ volatile store void()* %test, void()** %G
+ volatile load void()** %G
+ ret void
+ }
More information about the llvm-commits
mailing list