[PATCH] D144274: [InstCombine] use loop info when running the pass after loop vectorization

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 11:23:25 PST 2023


spatel added a comment.

In D144274#4167715 <https://reviews.llvm.org/D144274#4167715>, @fhahn wrote:

> This should probably have an instcombine test that shows the difference between `instcombine<use-loop-info>` and plain `instcombine`?

Yes, I can add a RUN line for "constant-fold-gep.ll" to show it. The affected test is "gep_plus_addr_sub_self_in_loop". It could be done as a preliminary NFC patch or part of this one.


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

https://reviews.llvm.org/D144274



More information about the llvm-commits mailing list