mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Change TRUNCSTORE to use a VTSDNode operand instead of being an MVTSTDNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2361,7 +2361,7 @@ void ISel::Select(SDOperand N) {
|
||||
case MVT::f64: Opc = IA64::STF8; break;
|
||||
}
|
||||
} else { // truncstore
|
||||
switch(cast<MVTSDNode>(Node)->getExtraValueType()) {
|
||||
switch(cast<VTSDNode>(Node->getOperand(4))->getVT()) {
|
||||
default: assert(0 && "unknown type in truncstore");
|
||||
case MVT::i1: Opc = IA64::ST1; isBool=true; break;
|
||||
//FIXME: DAG does not promote this load?
|
||||
|
Reference in New Issue
Block a user