• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple powerpc64-unknown-linux-gnu -fast-isel -O0 < %s | FileCheck %s
2
3; Verify that pointer offsets larger than 32 bits work correctly.
4
5define void @test(i32* %array) {
6; CHECK-LABEL: test:
7; CHECK-NOT: li {{[0-9]+}}, -8
8  %element = getelementptr i32, i32* %array, i64 2147483646
9  store i32 1234, i32* %element
10  ret void
11}
12
13