mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
This is suppose to work now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5613debf9
commit
f3fb71bfd7
@ -66,6 +66,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
|
|||||||
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
|
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
|
||||||
setOperationAction(ISD::SEXTLOAD, MVT::i16, Expand);
|
setOperationAction(ISD::SEXTLOAD, MVT::i16, Expand);
|
||||||
|
|
||||||
|
setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);
|
||||||
|
|
||||||
setOperationAction(ISD::FREM, MVT::f32, Expand);
|
setOperationAction(ISD::FREM, MVT::f32, Expand);
|
||||||
setOperationAction(ISD::FREM, MVT::f64, Expand);
|
setOperationAction(ISD::FREM, MVT::f64, Expand);
|
||||||
|
|
||||||
|
@ -1822,7 +1822,6 @@ void AlphaISel::Select(SDOperand N) {
|
|||||||
} else { //ISD::TRUNCSTORE
|
} else { //ISD::TRUNCSTORE
|
||||||
switch(cast<VTSDNode>(Node->getOperand(4))->getVT()) {
|
switch(cast<VTSDNode>(Node->getOperand(4))->getVT()) {
|
||||||
default: assert(0 && "unknown Type in store");
|
default: assert(0 && "unknown Type in store");
|
||||||
case MVT::i1: //FIXME: DAG does not promote this load
|
|
||||||
case MVT::i8: Opc = Alpha::STB; break;
|
case MVT::i8: Opc = Alpha::STB; break;
|
||||||
case MVT::i16: Opc = Alpha::STW; break;
|
case MVT::i16: Opc = Alpha::STW; break;
|
||||||
case MVT::i32: Opc = Alpha::STL; break;
|
case MVT::i32: Opc = Alpha::STL; break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user