[PATCH] D154953: [InstCombine] Remove the reminder loop if we know the mask is always true

Robert Dazi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 07:03:32 PDT 2023


v01dXYZ added a comment.

I'm curious how such an optimisation is related to other passes such as ValueTracking or ScalarEvolution. Indeed, if we can use information about the op0 such as the LSBs or as a ScalarEvolutionValue, we could support non constant value.


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

https://reviews.llvm.org/D154953



More information about the llvm-commits mailing list