[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)
commit7739394dad764933d58fee4eefeb20a16877e389
treef965057081c88afbcca298400a1e8aea8abf579f
parentc195a0c52cf1e5f0589c33a43d727a7dea8cbbe6
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsFastISel.cpp