aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-14 16:45:38 +0000
committerChris Lattner <sabre@nondot.org>2005-02-14 16:45:38 +0000
commitee6cfda17cbecc23ffe03739ed5946c30561570d (patch)
tree7dde9a99a96d4e17e36bd860d0bda0676f5afc6b /test/CodeGen/CBackend
parentf1e6e84c66a10d485db2b3997424fb889b3ed0e2 (diff)
downloadexternal_llvm-ee6cfda17cbecc23ffe03739ed5946c30561570d.zip
external_llvm-ee6cfda17cbecc23ffe03739ed5946c30561570d.tar.gz
external_llvm-ee6cfda17cbecc23ffe03739ed5946c30561570d.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll b/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
new file mode 100644
index 0000000..b6089d1
--- /dev/null
+++ b/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
@@ -0,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
+}