aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2023-04-25 12:38:04 +0100
committerAlex Bradbury <asb@igalia.com>2023-04-25 12:38:04 +0100
commit4a3cfd119b2ccfdf0f51964b3a31493de8982bd7 (patch)
tree696e103ab8d73a789926a8ba4cafc76b52186d02
parent1194e6f3fa59b99f627e290a98e3c2694e859da1 (diff)
downloadllvm-4a3cfd119b2ccfdf0f51964b3a31493de8982bd7.tar.gz
llvm-4a3cfd119b2ccfdf0f51964b3a31493de8982bd7.tar.bz2
llvm-4a3cfd119b2ccfdf0f51964b3a31493de8982bd7.zip
[RISCV][NFC] Fix typo in comment in RISCVISelLowering
SELECT_CC is expanded to SETT and SELECT.
-rw-r--r--llvm/lib/Target/RISCV/RISCVISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index 47d933515898..12553938a278 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);