From: Ulrich Weigand Date: Thu, 31 Mar 2016 16:38:57 +0000 (+0000) Subject: [PowerPC] Attempt to fix fast-isel-i64offset.ll failure X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ad762d36fb38aebb5afd377bd3d03e1909c0607;p=platform%2Fupstream%2Fllvm.git [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. llvm-svn: 265026 --- diff --git a/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll b/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll index e184ce4..00278d6 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