diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/pr26378.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/pr26378.ll b/llvm/test/CodeGen/PowerPC/pr26378.ll new file mode 100644 index 00000000000..e5e20553f52 --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/pr26378.ll @@ -0,0 +1,6 @@ +; RUN: llc -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*) +} |