1 ; RUN: llc -verify-machineinstrs -mtriple powerpc64-unknown-linux-gnu -fast-isel -O0 < %s | FileCheck %s
2 ; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -fast-isel -O0 < %s | FileCheck %s
4 ; Verify that pointer offsets larger than 32 bits work correctly.
6 define void @test(ptr %array) {
8 ; CHECK-NOT: li {{[0-9]+}}, -8
9 %element = getelementptr i32, ptr %array, i64 2147483646
10 store i32 1234, ptr %element