aboutsummaryrefslogtreecommitdiff
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
commit0f74372ebfd468fa39421b7cc56f0e84a55ac9f3 (patch)
treedc8ccd6befaa87d147c209879249199f348bcc63
parentbc681d6af490a7e67bcc8c4a4b17d18cb38ca455 (diff)
new test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34372 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/PowerPC/LargeAbsoluteAddr.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll b/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
index 2f0b4864d7..6b08148e72 100644
--- a/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
+++ b/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
+}
+