| commit | 4c13ab61b32a2015bbef09d9ea47d4da90697a7d | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Feb 14 16:45:38 2005 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Feb 14 16:45:38 2005 +0000 |
| tree | beeba12987e896fff492809659326ad270975486 | |
| parent | 9c7fbaef9b92d24fd5cfa8c7b1183a7ba111aab3 [diff] [blame] |
new testcase llvm-svn: 20176
diff --git a/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll b/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperations.ll new file mode 100644 index 0000000..b6089d1 --- /dev/null +++ b/llvm/test/Regression/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 +}