diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-04 01:58:20 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-04 01:58:20 +0000 |
commit | 155402c9c23b12fcbb49d31bc7e238ecd88c999e (patch) | |
tree | 0d1ce36bb35cbdb3579ba7ca981e7a23420d1033 /llvm/test/CodeGen/PowerPC | |
parent | 3dd478a9c9e750363be1abe513bd5a2d311dfb3a (diff) | |
download | bcm5719-llvm-155402c9c23b12fcbb49d31bc7e238ecd88c999e.tar.gz bcm5719-llvm-155402c9c23b12fcbb49d31bc7e238ecd88c999e.zip |
Test case for PR 26381
llvm-svn: 259740
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/pr26381.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/pr26381.ll b/llvm/test/CodeGen/PowerPC/pr26381.ll new file mode 100644 index 00000000000..a45288e545f --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/pr26381.ll @@ -0,0 +1,8 @@ +; RUN: llc -mcpu=pwr7 -mtriple=powerpc64le-unknown-unknown -O0 < %s | FileCheck %s + +define internal signext i32 @foo() #0 { + ret i32 -125452974 +} + +; CHECK: lis 3, -1915 +; CHECK: ori 3, 3, 48466 |