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:
03f9009
)
[RISCV][NFC] Remove dead code.
author
Yeting Kuo
<yeting.kuo@sifive.com>
Sun, 13 Nov 2022 13:43:31 +0000
(21:43 +0800)
committer
Yeting Kuo
<yeting.kuo@sifive.com>
Mon, 14 Nov 2022 02:08:48 +0000
(10:08 +0800)
All ISD::BSWAP nodes are not customized lowered in RISC-V now, so the patch
removed dead code for ISD::BSWAP in LowerOperation.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D137907
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
6efc4f0
..
687a89e
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@
-3572,7
+3572,6
@@
SDValue RISCVTargetLowering::LowerOperation(SDValue Op,
return LowerINTRINSIC_W_CHAIN(Op, DAG);
case ISD::INTRINSIC_VOID:
return LowerINTRINSIC_VOID(Op, DAG);
- case ISD::BSWAP:
case ISD::BITREVERSE: {
MVT VT = Op.getSimpleValueType();
SDLoc DL(Op);