HomePhabricator

[NPM] Add -enable-loopinterchange option to NPM

Authored by TaWeiTu on Mar 6 2021, 10:37 AM.

Description

[NPM] Add -enable-loopinterchange option to NPM

We have the enable-loopinterchange option in legacy pass manager but not in NPM.
Add LoopInterchange pass to the optimization pipeline (at the same position as before)
when enable-loopinterchange is turned on.

Reviewed By: aeubanks, fhahn

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

Details