[llvm] r265026 - [PowerPC] Attempt to fix fast-isel-i64offset.ll failure

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 09:38:57 PDT 2016


Author: uweigand
Date: Thu Mar 31 11:38:57 2016
New Revision: 265026

URL: http://llvm.org/viewvc/llvm-project?rev=265026&view=rev
Log:
[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.


Modified:
    llvm/trunk/test/CodeGen/PowerPC/fast-isel-i64offset.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/fast-isel-i64offset.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fast-isel-i64offset.ll?rev=265026&r1=265025&r2=265026&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fast-isel-i64offset.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fast-isel-i64offset.ll Thu Mar 31 11:38:57 2016
@@ -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




More information about the llvm-commits mailing list