[PATCH] D102864: [InstSimplify] Transform X * Y % Y --> 0.

David Goldblatt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 18:02:40 PDT 2021


davidtgoldblatt updated this revision to Diff 347160.
davidtgoldblatt added a comment.

Merge cases into simplifyDivRem

Went ahead and did the suggested unification, which was an obvious improvement
once I understood things better.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102864

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/rem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102864.347160.patch
Type: text/x-patch
Size: 5113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210522/55c05a90/attachment.bin>


More information about the llvm-commits mailing list