forked from OSchip/llvm-project
parent
2b3f7a7e3b
commit
b7cabbe295
|
@ -1407,7 +1407,7 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) {
|
||||||
|
|
||||||
MVT::ValueType SVT = cast<VTSDNode>(Node->getOperand(1))->getVT();
|
MVT::ValueType SVT = cast<VTSDNode>(Node->getOperand(1))->getVT();
|
||||||
SDOperand TruncOp = SDOperand(getTruncate(N0, SVT), 0);
|
SDOperand TruncOp = SDOperand(getTruncate(N0, SVT), 0);
|
||||||
unsigned Opc;
|
unsigned Opc = 0;
|
||||||
switch (NVT) {
|
switch (NVT) {
|
||||||
case MVT::i16:
|
case MVT::i16:
|
||||||
if (SVT == MVT::i8) Opc = X86::MOVSX16rr8;
|
if (SVT == MVT::i8) Opc = X86::MOVSX16rr8;
|
||||||
|
|
Loading…
Reference in New Issue