This is an archive of the discontinued LLVM Phabricator instance.

NFC. Refactor affine fusion code for readability
ClosedPublic

Authored by bondhugula on Jan 18 2023, 7:18 PM.

Details

Summary

Replace a couple of check instances with llvm::any_of (clang-tidy
warnings). Factor out "canCreatePrivateMemRef" and
"performFusionsIntoDest" into separate methods to reduce the
length/indent of the containing methods. Add doc comments and debug messages.

Mark some of the methods that should have been const const.

NFC.

Diff Detail

Event Timeline

bondhugula created this revision.Jan 18 2023, 7:18 PM
bondhugula requested review of this revision.Jan 18 2023, 7:18 PM

Some more NFC for the code touched.

This revision is now accepted and ready to land.Jan 19 2023, 10:51 PM
This revision was landed with ongoing or failed builds.Jan 19 2023, 11:50 PM
This revision was automatically updated to reflect the committed changes.