projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1194e6f
)
[RISCV][NFC] Fix typo in comment in RISCVISelLowering
author
Alex Bradbury
<asb@igalia.com>
Tue, 25 Apr 2023 11:38:04 +0000
(12:38 +0100)
committer
Alex 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index
47d9335
..
1255393
100644
(file)
--- 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);