llvm-project/llvm/test/CodeGen/PowerPC/pr26378.ll

7 lines
227 B
LLVM

; RUN: llc -verify-machineinstrs -compile-twice -filetype obj \
; RUN: -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 < %s
@foo = common global i32 0, align 4
define i8* @blah() #0 {
ret i8* bitcast (i32* @foo to i8*)
}