summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-10-07 20:46:19 +0000
committerReed Kotler <rkotler@mips.com>2013-10-07 20:46:19 +0000
commit42be15fcbeedaa67c4b5f4b19eb273749ae36465 (patch)
treef40d4d9c573d5a6449224ecd26794969b8d7754a /test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
parentfb92f4645968724d2095ef95a7034d7e20d39b3f (diff)
downloadexternal_llvm-42be15fcbeedaa67c4b5f4b19eb273749ae36465.zip
external_llvm-42be15fcbeedaa67c4b5f4b19eb273749ae36465.tar.gz
external_llvm-42be15fcbeedaa67c4b5f4b19eb273749ae36465.tar.bz2
Add Mips16 patterns for sign extend byte and sign extend halfword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/2008-07-16-SignExtInReg.ll')
-rw-r--r--test/CodeGen/Mips/2008-07-16-SignExtInReg.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll b/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
index 8479ad2..3381143 100644
--- a/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
+++ b/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -march=mips -mcpu=mips32r2 | FileCheck %s
; RUN: llc < %s -march=mips64 -mcpu=mips64r2 | FileCheck %s
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32r2 -mattr=+mips16 -soft-float -mips16-hard-float < %s | FileCheck %s
define signext i8 @A(i8 %e.0, i8 signext %sum) nounwind {
entry: