mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Don't generate operations that aren't yet supported
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b2973aef2
commit
d5ce204c5f
@ -84,7 +84,7 @@ namespace {
|
||||
|
||||
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
|
||||
setOperationAction(ISD::UINT_TO_FP , MVT::i1 , Promote);
|
||||
|
||||
|
||||
// We don't support sin/cos/sqrt
|
||||
setOperationAction(ISD::FSIN , MVT::f64, Expand);
|
||||
setOperationAction(ISD::FCOS , MVT::f64, Expand);
|
||||
@ -96,6 +96,9 @@ namespace {
|
||||
//IA64 has these, but they are not implemented
|
||||
setOperationAction(ISD::CTTZ , MVT::i64 , Expand);
|
||||
setOperationAction(ISD::CTLZ , MVT::i64 , Expand);
|
||||
// FIXME: implement mulhs (xma.h) and mulhu (xma.hu)
|
||||
setOperationAction(ISD::MULHS , MVT::i64 , Expand);
|
||||
setOperationAction(ISD::MULHU , MVT::i64 , Expand);
|
||||
|
||||
computeRegisterProperties();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user