This is an archive of the discontinued LLVM Phabricator instance.

[mlir] NFC Async: always use 'b' for the current builder
ClosedPublic

Authored by ezhulenev on Feb 16 2022, 8:35 PM.

Details

Summary

Currently some of the nested IR building inconsistently uses nb and b, it's very easy to call wrong builder outside of the current scope, so for simplicity all builders are always called b, and in nested IR building regions they just shadow the "parent" builder.

Diff Detail

Event Timeline

ezhulenev created this revision.Feb 16 2022, 8:35 PM
ezhulenev requested review of this revision.Feb 16 2022, 8:35 PM
ezhulenev edited the summary of this revision. (Show Details)Feb 16 2022, 8:37 PM
ezhulenev added reviewers: cota, mehdi_amini.
ezhulenev retitled this revision from [mlir] Async: always use 'b' for the current builder to [mlir] NFC Async: always use 'b' for the current builder.
mehdi_amini accepted this revision.Feb 16 2022, 9:03 PM
This revision is now accepted and ready to land.Feb 16 2022, 9:03 PM