From cbe8858ad153b576959b7247cab48681aa265c6a Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 31 Mar 2016 16:38:57 +0000 Subject: [PATCH] [PowerPC] Attempt to fix fast-isel-i64offset.ll failure The test case added in r265023 is failing on ninja-x64-msvc-RA-centos6. Update the test to make less specific assumptions on code generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265026 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/fast-isel-i64offset.ll | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/CodeGen/PowerPC/fast-isel-i64offset.ll b/test/CodeGen/PowerPC/fast-isel-i64offset.ll index e184ce4c3b3e..00278d68f638 100644 --- a/test/CodeGen/PowerPC/fast-isel-i64offset.ll +++ b/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