From 6ad762d36fb38aebb5afd377bd3d03e1909c0607 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. llvm-svn: 265026 --- llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.7.4