mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Fix infinite recursion for when extract_vector_elt is legal. Unfortunately no public targets use this code-path, so no test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e1e81ccbe
commit
844228a631
@ -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…
x
Reference in New Issue
Block a user