[PATCH] D93764: [LoopUnswitch] Implement first version of partial unswitching.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 28 20:42:08 PST 2020


reames added a comment.

In D93764#2473241 <https://reviews.llvm.org/D93764#2473241>, @fhahn wrote:

> I think this is a separate issue (the condition is dependent on the induction variable), but nevertheless interesting to pursue. IIRC there is already a pass that tries to do something similar, but I don't know which one of the top of my head. Will check.

This is InductiveRangeCheckElimination which implements a form of iteration set splitting.  I'll warn that IRCE has been historically bug prone, and is not on by default upstream.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93764



More information about the llvm-commits mailing list