aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-10 21:57:37 +0000
committerChris Lattner <sabre@nondot.org>2005-10-10 21:57:37 +0000
commite64dfbc10b2ea220619a7416e471184f7f8f367a (patch)
treeceaa279a51a372e5339786a98d2c3f70c8841ec4 /test/CodeGen/PowerPC
parent07ed417df21269c51e61746176caf73d8aef43e8 (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/store-load-fwd.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/store-load-fwd.ll b/test/CodeGen/PowerPC/store-load-fwd.ll
new file mode 100644
index 0000000000..8ebd02b79f
--- /dev/null
+++ b/test/CodeGen/PowerPC/store-load-fwd.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -march=ppc32 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep lwz
+int %test(int* %P) {
+ store int 1, int* %P
+ %V = load int* %P
+ ret int %V
+}