[RISCV][NFC] Fix typo in comment in RISCVISelLowering
authorAlex Bradbury <asb@igalia.com>
Tue, 25 Apr 2023 11:38:04 +0000 (12:38 +0100)
committerAlex Bradbury <asb@igalia.com>
Tue, 25 Apr 2023 11:38:04 +0000 (12:38 +0100)
SELECT_CC is expanded to SETT and SELECT.

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

index 47d9335..1255393 100644 (file)
@@ -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);