[mips][FastISel] Specify which types we handle for integer extension.
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Fri, 24 Apr 2015 13:48:19 +0000 (13:48 +0000)
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Fri, 24 Apr 2015 13:48:19 +0000 (13:48 +0000)
commit1202f36b10c9d2f1e377cf06f130c1a02dc28dfa
tree8ec4d033ccf976be909f2ab13139795ac823e223
parent5e90906c0d4fd6f6d793b61fa239463928c20216
[mips][FastISel] Specify which types we handle for integer extension.

Summary:
Perform integer extension only when the destination type is one of
i8, i16 & i32 and when the source type is i1, i8 or i16. For other
combinations we fall back to SelectionDAG.

This fixes the test MultiSource/Benchmarks/7zip that was failing in our
out-of-tree MIPS buildbots.

Reviewers: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9243

llvm-svn: 235718
llvm/lib/Target/Mips/MipsFastISel.cpp