mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
make sure bit_convert's are expanded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
53e884587b
commit
21f66859e4
@ -80,6 +80,9 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::FP_TO_SINT , MVT::i8 , Promote);
|
setOperationAction(ISD::FP_TO_SINT , MVT::i8 , Promote);
|
||||||
setOperationAction(ISD::FP_TO_SINT , MVT::i16 , Promote);
|
setOperationAction(ISD::FP_TO_SINT , MVT::i16 , Promote);
|
||||||
|
|
||||||
|
setOperationAction(ISD::BIT_CONVERT, MVT::f32, Expand);
|
||||||
|
setOperationAction(ISD::BIT_CONVERT, MVT::i32, Expand);
|
||||||
|
|
||||||
if (X86DAGIsel) {
|
if (X86DAGIsel) {
|
||||||
setOperationAction(ISD::BRCOND , MVT::Other, Custom);
|
setOperationAction(ISD::BRCOND , MVT::Other, Custom);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user