aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-17 21:06:13 +0000
committerChris Lattner <sabre@nondot.org>2002-11-17 21:06:13 +0000
commite4ae94c36701692e219a26b06f3cf993e9127383 (patch)
tree30ff01889c516c073cb35314d7d6998e272e9de6
parent9562add2370844336a6cc14034fcada04b34fe4a (diff)
New testcase for loads and stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4715 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/ExecutionEngine/test-loadstore.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll
new file mode 100644
index 0000000000..f8fadab85e
--- /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
+}