This is an archive of the discontinued LLVM Phabricator instance.

Add NoOpLoopNestPass and LOOPNEST_PASS macro
ClosedPublic

Authored by Whitney on Nov 4 2021, 6:19 AM.

Details

Summary

Having a NoOpLoopNestPass can ensure that only outermost loop is invoked for a LoopNestPass with a lit test.

There are some existing passes that are implemented as LoopNestPass, but they are still using LOOP_PASS macro.
It would be easier to identify LoopNestPasses with a LOOPNEST_PASS macro.

Diff Detail

Event Timeline

Whitney created this revision.Nov 4 2021, 6:19 AM
Whitney requested review of this revision.Nov 4 2021, 6:19 AM
etiotto accepted this revision.Nov 4 2021, 8:17 AM

LGTM

This revision is now accepted and ready to land.Nov 4 2021, 8:17 AM
Whitney updated this revision to Diff 384761.Nov 4 2021, 8:23 AM

clang-format

eopXD accepted this revision.Nov 5 2021, 8:16 AM

LGTM too.

This revision was landed with ongoing or failed builds.Nov 5 2021, 9:12 AM
This revision was automatically updated to reflect the committed changes.