This is an archive of the discontinued LLVM Phabricator instance.

[mlir][normalize-memrefs] NFC Follow-up D125854
ClosedPublic

Authored by tungld on Aug 18 2022, 10:21 PM.

Details

Summary

NFC follow-up D125854 to reflect some remaining comments in D125854

Diff Detail

Event Timeline

tungld created this revision.Aug 18 2022, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 10:21 PM
tungld requested review of this revision.Aug 18 2022, 10:21 PM
tungld retitled this revision from Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" to NFC Follow-up D125854.Aug 18 2022, 10:23 PM
tungld edited the summary of this revision. (Show Details)
tungld added a reviewer: bondhugula.
tungld retitled this revision from NFC Follow-up D125854 to [mlir][normalize-memrefs] NFC Follow-up D125854.Aug 18 2022, 10:25 PM
bondhugula requested changes to this revision.Aug 18 2022, 11:35 PM
bondhugula added inline comments.
mlir/lib/Dialect/MemRef/Transforms/NormalizeMemRefs.cpp
172–173

This isn't what the comment had meant: please use a (single) dyn_cast instead of isa + cast - here and below. https://llvm.org/docs/ProgrammersManual.html#the-isa-cast-and-dyn-cast-templates

This revision now requires changes to proceed.Aug 18 2022, 11:35 PM
tungld updated this revision to Diff 453916.Aug 19 2022, 1:17 AM

Reflect Uday's comments

@bondhugula thank you for your comments! I updated the patch accordingly.

bondhugula accepted this revision.Aug 19 2022, 7:09 AM
This revision is now accepted and ready to land.Aug 19 2022, 7:09 AM
This revision was automatically updated to reflect the committed changes.