[RISCV][NFC]Remove outdated comment from targetShrinkDemandedConstant
authorLiaoChunyu <chunyu@iscas.ac.cn>
Mon, 19 Sep 2022 02:22:31 +0000 (10:22 +0800)
committerLiaoChunyu <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

index 171c1b1..ff9993b 100644 (file)
@@ -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;