llvm.org GIT mirror llvm / cbe8858
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265026 91177308-0d34-0410-b5e6-96231b3b80d8 Ulrich Weigand 4 years ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
33
44 define void @test(i32* %array) {
55 ; CHECK-LABEL: test:
6 ; CHECK: lis [[REG:[0-9]+]], 16383
7 ; CHECK: ori [[REG]], [[REG]], 65535
8 ; CHECK: sldi [[REG]], [[REG]], 3
9 ; CHECK: stwx {{[0-9]+}}, 3, [[REG]]
6 ; CHECK-NOT: li {{[0-9]+}}, -8
107 %element = getelementptr i32, i32* %array, i64 2147483646
118 store i32 1234, i32* %element
129 ret void