Add fptrunc to mips fast-sel
authorReed Kotler <rkotler@mips.com>
Wed, 1 Oct 2014 18:47:02 +0000 (18:47 +0000)
committerReed Kotler <rkotler@mips.com>
Wed, 1 Oct 2014 18:47:02 +0000 (18:47 +0000)
commitbefab0a552361e32110e6fdd987f4cbea15b8b74
tree6df26e5a63c046e3eec33d131e8426d1e47b0575
parent04d21865464a342d07d000492d2678ed6f7b45ff
Add fptrunc to mips fast-sel

Summary: Implement conversion of 64 to 32 bit floating point numbers (fptrunc) in mips fast-isel

Test Plan:
fptrunc.ll
checked also with 4 internal mips build bot flavors mip32r1/miprs32r2 and at -O0 and -O2

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: rfuhler

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsFastISel.cpp
test/CodeGen/Mips/Fast-ISel/fptrunc.ll [new file with mode: 0644]