New testcase for loads and stores
authorChris Lattner <sabre@nondot.org>
Sun, 17 Nov 2002 21:06:13 +0000 (21:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Nov 2002 21:06:13 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4715 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/test-loadstore.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll
new file mode 100644 (file)
index 0000000..f8fadab
--- /dev/null
@@ -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
+}