From ee6cfda17cbecc23ffe03739ed5946c30561570d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 14 Feb 2005 16:45:38 +0000 Subject: new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll (limited to 'test/CodeGen') 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 0000000000..b6089d1d19 --- /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 +} -- cgit v1.2.3-70-g09d2