mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
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
13 lines
342 B
LLVM
13 lines
342 B
LLVM
; RUN: llc -mtriple powerpc64-unknown-linux-gnu -fast-isel -O0 < %s | FileCheck %s
|
|
|
|
; Verify that pointer offsets larger than 32 bits work correctly.
|
|
|
|
define void @test(i32* %array) {
|
|
; CHECK-LABEL: test:
|
|
; CHECK-NOT: li {{[0-9]+}}, -8
|
|
%element = getelementptr i32, i32* %array, i64 2147483646
|
|
store i32 1234, i32* %element
|
|
ret void
|
|
}
|
|
|