Evan thinks NoImplicitFloat check is not required here.

llvm-svn: 72954
This commit is contained in:
Devang Patel 2009-06-05 18:48:29 +00:00
parent 2bde90b3ee
commit 54707b420a
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
setOperationAction(ISD::SINT_TO_FP , MVT::i8 , Promote);
if (!UseSoftFloat && !NoImplicitFloat) {
if (!UseSoftFloat) {
// SSE has no i16 to fp conversion, only i32
if (X86ScalarSSEf32) {
setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);