mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Evan thinks NoImplicitFloat check is not required here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f38fd690ad
commit
6a784894b1
@ -126,7 +126,7 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
|
|||||||
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
|
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
|
||||||
setOperationAction(ISD::SINT_TO_FP , MVT::i8 , Promote);
|
setOperationAction(ISD::SINT_TO_FP , MVT::i8 , Promote);
|
||||||
|
|
||||||
if (!UseSoftFloat && !NoImplicitFloat) {
|
if (!UseSoftFloat) {
|
||||||
// SSE has no i16 to fp conversion, only i32
|
// SSE has no i16 to fp conversion, only i32
|
||||||
if (X86ScalarSSEf32) {
|
if (X86ScalarSSEf32) {
|
||||||
setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);
|
setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user