mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-30 20:34:21 +00:00
legalize readio/writeio into load/stores, fixing CodeGen/X86/io.llx with
the pattern isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d5b8e1646
commit
4e6ce5f9c7
@ -70,6 +70,15 @@ namespace {
|
||||
setOperationAction(ISD::CTTZ , MVT::i32 , Expand);
|
||||
setOperationAction(ISD::CTLZ , MVT::i32 , Expand);
|
||||
|
||||
setOperationAction(ISD::READIO , MVT::i1 , Expand);
|
||||
setOperationAction(ISD::READIO , MVT::i8 , Expand);
|
||||
setOperationAction(ISD::READIO , MVT::i16 , Expand);
|
||||
setOperationAction(ISD::READIO , MVT::i32 , Expand);
|
||||
setOperationAction(ISD::WRITEIO , MVT::i1 , Expand);
|
||||
setOperationAction(ISD::WRITEIO , MVT::i8 , Expand);
|
||||
setOperationAction(ISD::WRITEIO , MVT::i16 , Expand);
|
||||
setOperationAction(ISD::WRITEIO , MVT::i32 , Expand);
|
||||
|
||||
if (!UnsafeFPMath) {
|
||||
setOperationAction(ISD::FSIN , MVT::f64 , Expand);
|
||||
setOperationAction(ISD::FCOS , MVT::f64 , Expand);
|
||||
|
Loading…
x
Reference in New Issue
Block a user