HomePhabricator

[LoopUtils] Pass SCEVExpander instead SE to addRuntimeChecks.

Authored by fhahn on Jan 27 2021, 9:13 AM.

Description

[LoopUtils] Pass SCEVExpander instead SE to addRuntimeChecks.

This gives the user control over which expander to use, which in turn
allows the user to decide what to do with the expanded instructions.

Used in D75980.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D94295