From: Chris Lattner Date: Mon, 14 Feb 2005 16:45:38 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ee6cfda17cbecc23ffe03739ed5946c30561570d;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 00000000000..b6089d1d19a --- /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 +}