forked from OSchip/llvm-project
Fix infinite recursion for when extract_vector_elt is legal. Unfortunately no public targets use this code-path, so no test.
llvm-svn: 40510
This commit is contained in:
parent
62b35d41cd
commit
3fead96121
|
@ -3605,7 +3605,7 @@ SDOperand SelectionDAGLegalize::ExpandEXTRACT_VECTOR_ELT(SDOperand Op) {
|
|||
if (isTypeLegal(TVT)) {
|
||||
Vec = LegalizeOp(Vec);
|
||||
Op = DAG.UpdateNodeOperands(Op, Vec, Idx);
|
||||
Op = LegalizeOp(Op);
|
||||
return Op;
|
||||
}
|
||||
break;
|
||||
case TargetLowering::Expand:
|
||||
|
|
Loading…
Reference in New Issue