[PATCH] D140347: SelectionDAG: Teach ComputeKnownBits about VSCALE

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 15:53:29 PDT 2023


craig.topper updated this revision to Diff 525850.
craig.topper added a comment.

Use smul_ov instead of trying to size for the worst case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140347

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/vscale-and-sve-cnt-demandedbits.ll
  llvm/test/CodeGen/RISCV/vscale-demanded-bits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140347.525850.patch
Type: text/x-patch
Size: 5368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230525/ef973046/attachment.bin>


More information about the llvm-commits mailing list