Test case for PR 26381
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 4 Feb 2016 01:58:20 +0000 (01:58 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 4 Feb 2016 01:58:20 +0000 (01:58 +0000)
llvm-svn: 259740

llvm/test/CodeGen/PowerPC/pr26381.ll [new file with mode: 0644]

diff --git a/llvm/test/CodeGen/PowerPC/pr26381.ll b/llvm/test/CodeGen/PowerPC/pr26381.ll
new file mode 100644 (file)
index 0000000..a45288e
--- /dev/null
@@ -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