1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/PowerPC/fast-isel-i64offset.ll
Ulrich Weigand 359f7aec9c [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.

llvm-svn: 265026
2016-03-31 16:38:57 +00:00

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
}