[PATCH] D134154: [RISCV][NFC]Remove outdated comment from targetShrinkDemandedConstant

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 19:23:15 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8fee91c43517: [RISCV][NFC]Remove outdated comment from targetShrinkDemandedConstant (authored by liaolucy).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134154/new/

https://reviews.llvm.org/D134154

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp


Index: llvm/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -10004,7 +10004,6 @@
   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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134154.461124.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220919/b33d2fe2/attachment.bin>


More information about the llvm-commits mailing list