summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll b/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll
index e184ce4c3b3..00278d68f63 100644
--- a/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll
+++ b/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll
@@ -4,10 +4,7 @@
define void @test(i32* %array) {
; CHECK-LABEL: test:
-; CHECK: lis [[REG:[0-9]+]], 16383
-; CHECK: ori [[REG]], [[REG]], 65535
-; CHECK: sldi [[REG]], [[REG]], 3
-; CHECK: stwx {{[0-9]+}}, 3, [[REG]]
+; CHECK-NOT: li {{[0-9]+}}, -8
%element = getelementptr i32, i32* %array, i64 2147483646
store i32 1234, i32* %element
ret void
OpenPOWER on IntegriCloud