[PowerPC] Attempt to fix fast-isel-i64offset.ll failure
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 31 Mar 2016 16:38:57 +0000 (16:38 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 31 Mar 2016 16:38:57 +0000 (16:38 +0000)
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

index e184ce4..00278d6 100644 (file)
@@ -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