[PATCH] D154953: [InstSimplify] Remove the remainder loop if we know the mask is always true

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 04:53:12 PDT 2023


Allen updated this revision to Diff 541459.
Allen marked an inline comment as done.
Allen added a comment.

refactor with **computeConstantRange **according comment


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

https://reviews.llvm.org/D154953

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstCombine/rem-mul-shl.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154953.541459.patch
Type: text/x-patch
Size: 82580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/e7ef8a43/attachment.bin>


More information about the llvm-commits mailing list