summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-17 06:57:11 +0000
committerChris Lattner <sabre@nondot.org>2007-02-17 06:57:11 +0000
commit3723c90455e7ae2f1a53c3c7f9a2c52caec48250 (patch)
treef29818ddbce7d6b864e21723e5f23e61d8250265
parent4a9c0bb147667fd2028e3831d3baa03a60a06968 (diff)
downloadbcm5719-llvm-3723c90455e7ae2f1a53c3c7f9a2c52caec48250.tar.gz
bcm5719-llvm-3723c90455e7ae2f1a53c3c7f9a2c52caec48250.zip
new test
llvm-svn: 34372
-rw-r--r--llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll b/llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
index 2f0b4864d71..6b08148e72f 100644
--- a/llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
+++ b/llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
@@ -1,5 +1,6 @@
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
+; RUN: llvm-as < %s | llc -march=ppc64 | grep 'std r2, 9024' &&
; RUN: llvm-as < %s | llc
define void @test() {
@@ -7,3 +8,8 @@ define void @test() {
ret void
}
+define void @test2() {
+ store i64 0, i64* inttoptr (i64 74560 to i64*)
+ ret void
+}
+
OpenPOWER on IntegriCloud