From 155402c9c23b12fcbb49d31bc7e238ecd88c999e Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Thu, 4 Feb 2016 01:58:20 +0000 Subject: [PATCH] Test case for PR 26381 llvm-svn: 259740 --- llvm/test/CodeGen/PowerPC/pr26381.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 llvm/test/CodeGen/PowerPC/pr26381.ll diff --git a/llvm/test/CodeGen/PowerPC/pr26381.ll b/llvm/test/CodeGen/PowerPC/pr26381.ll new file mode 100644 index 0000000..a45288e --- /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 -- 2.7.4