Skip to content

Commit 1573cfb

Browse files
committed
fixup! add FIXME.
1 parent bc6895e commit 1573cfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,6 +2246,7 @@ SDValue VectorLegalizer::UnrollVSETCC(SDNode *Node) {
22462246
DAG.getVectorIdxConstant(i, dl));
22472247
SDValue RHSElem = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, TmpEltVT, RHS,
22482248
DAG.getVectorIdxConstant(i, dl));
2249+
// FIXME: We should use i1 setcc + boolext here, but it causes regressions.
22492250
Ops[i] = DAG.getNode(ISD::SETCC, dl,
22502251
TLI.getSetCCResultType(DAG.getDataLayout(),
22512252
*DAG.getContext(), TmpEltVT),

0 commit comments

Comments
 (0)