This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Adapted standard Alloc and Alloca ops to use different side-effect resources.
ClosedPublic

Authored by dfki-mako on May 8 2020, 1:21 AM.

Details

Summary

The current standard Alloca node is not annotated with the MemEffect<Alloc> trait. This CL updates the Alloc and Alloca memory-effect annotations using the latest Resource objects. Alloca nodes will use a newly defined AutomaticAllocationScopeResource to distinguish between Alloc and Alloca memory effects.

Diff Detail

Event Timeline

dfki-mako created this revision.May 8 2020, 1:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2020, 1:21 AM
dfki-mako added a project: Restricted Project.
herhut accepted this revision.May 11 2020, 3:30 AM
This revision is now accepted and ready to land.May 11 2020, 3:30 AM
This revision was automatically updated to reflect the committed changes.