From: Chris Lattner Date: Sun, 17 Nov 2002 21:06:13 +0000 (+0000) Subject: New testcase for loads and stores X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e4ae94c36701692e219a26b06f3cf993e9127383;p=oota-llvm.git New testcase for loads and stores git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll new file mode 100644 index 00000000000..f8fadab85e4 --- /dev/null +++ b/test/ExecutionEngine/test-loadstore.ll @@ -0,0 +1,12 @@ + +void %test(sbyte* %P, short* %P, int* %P) { + %V = load sbyte* %P + store sbyte %V, sbyte* %P + + %V = load short* %P + store short %V, short* %P + + %V = load int* %P + store int %V, int* %P + ret void +}