Skip to content

Commit db40043

Browse files
committed
let SelectionDAG expand v2f32 operands of extract_vector_elt
1 parent 5ad6df4 commit db40043

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2274,6 +2274,9 @@ SDValue NVPTXTargetLowering::LowerEXTRACT_VECTOR_ELT(SDValue Op,
22742274
}
22752275
if (Vector.getOpcode() == ISD::BUILD_VECTOR)
22762276
return GetOperand(Vector, Index);
2277+
2278+
// Otherwise, let SelectionDAG expand the operand.
2279+
return SDValue();
22772280
}
22782281

22792282
// Constant index will be matched by tablegen.

0 commit comments

Comments
 (0)