Skip to content

Commit 2fd1372

Browse files
topperclenary
andauthored
Update llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Co-authored-by: Sam Elliott <[email protected]>
1 parent db09873 commit 2fd1372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16661,7 +16661,7 @@ performSIGN_EXTEND_INREGCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
1666116661
return DAG.getNode(RISCVISD::SLLW, DL, VT, Src.getOperand(0),
1666216662
Src.getOperand(1));
1666316663

16664-
// Fold (sext_inreg (setcc), i1) -> (sub 0, (setcc)
16664+
// Fold (sext_inreg (setcc), i1) -> (sub 0, (setcc))
1666516665
if (Opc == ISD::SETCC && DCI.isAfterLegalizeDAG())
1666616666
return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Src);
1666716667

0 commit comments

Comments
 (0)