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