[llvm] r259740 - Test case for PR 26381

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 17:58:20 PST 2016


Author: nemanjai
Date: Wed Feb  3 19:58:20 2016
New Revision: 259740

URL: http://llvm.org/viewvc/llvm-project?rev=259740&view=rev
Log:
Test case for PR 26381

Added:
    llvm/trunk/test/CodeGen/PowerPC/pr26381.ll

Added: llvm/trunk/test/CodeGen/PowerPC/pr26381.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr26381.ll?rev=259740&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr26381.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/pr26381.ll Wed Feb  3 19:58:20 2016
@@ -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




More information about the llvm-commits mailing list