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:
2078350
)
[RISCV][NFC]Remove outdated comment from targetShrinkDemandedConstant
author
LiaoChunyu
<chunyu@iscas.ac.cn>
Mon, 19 Sep 2022 02:22:31 +0000
(10:22 +0800)
committer
LiaoChunyu
<chunyu@iscas.ac.cn>
Mon, 19 Sep 2022 02:23:06 +0000
(10:23 +0800)
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D134154
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
171c1b1
..
ff9993b
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@
-10004,7
+10004,6
@@
bool RISCVTargetLowering::targetShrinkDemandedConstant(
if (VT.isVector())
return false;
- // Only handle AND for now.
unsigned Opcode = Op.getOpcode();
if (Opcode != ISD::AND && Opcode != ISD::OR && Opcode != ISD::XOR)
return false;