From 4a3cfd119b2ccfdf0f51964b3a31493de8982bd7 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Tue, 25 Apr 2023 12:38:04 +0100 Subject: [PATCH] [RISCV][NFC] Fix typo in comment in RISCVISelLowering SELECT_CC is expanded to SETT and SELECT. --- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp index 47d9335..1255393 100644 --- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp +++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp @@ -4630,7 +4630,7 @@ SDValue RISCVTargetLowering::LowerOperation(SDValue Op, case ISD::SELECT_CC: { // This occurs because we custom legalize SETGT and SETUGT for setcc. That // causes LegalizeDAG to think we need to custom legalize select_cc. Expand - // into separate SETCC+SELECT_CC just like LegalizeDAG. + // into separate SETCC+SELECT just like LegalizeDAG. SDValue Tmp1 = Op.getOperand(0); SDValue Tmp2 = Op.getOperand(1); SDValue True = Op.getOperand(2); -- 2.7.4