Skip to content

Commit

Permalink
[PowerPC] Attempt to fix fast-isel-i64offset.ll failure
Browse files Browse the repository at this point in the history
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
  • Loading branch information
uweigand committed Mar 31, 2016
1 parent d4a2e32 commit cbe8858
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/CodeGen/PowerPC/fast-isel-i64offset.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbe8858

Please sign in to comment.