brintos

brintos / llvm-project-archived public Read only

0
0
Text · 462 B · 8316c2c Raw
14 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple powerpc64-unknown-linux-gnu -fast-isel -O0 < %s | FileCheck %s2; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -fast-isel -O0 < %s | FileCheck %s3 4; Verify that pointer offsets larger than 32 bits work correctly.5 6define void @test(ptr %array) {7; CHECK-LABEL: test:8; CHECK-NOT: li {{[0-9]+}}, -89  %element = getelementptr i32, ptr %array, i64 214748364610  store i32 1234, ptr %element11  ret void12}13 14