[X86] Combine LowerFP_TO_SINT and LowerFP_TO_UINT. They only differ by a single boole...
authorCraig Topper <craig.topper@gmail.com>
Sat, 10 Dec 2016 19:35:33 +0000 (19:35 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 10 Dec 2016 19:35:33 +0000 (19:35 +0000)
commit85f0e57c33f4e78b99f240de96e05406699fcfe0
tree89bd7fa5e8a71bf8b0f5348db294e0e9824d234e
parent35289c62a8884d57b2c9c6cc7f50dbf41ccef15c
[X86] Combine LowerFP_TO_SINT and LowerFP_TO_UINT. They only differ by a single boolean flag passed to a helper function. Just check the opcode and create the flag.

llvm-svn: 289333
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h