This is an archive of the discontinued LLVM Phabricator instance.

MemoryBuiltins: accept non-TLI funcs with attribs as allocator funcs
ClosedPublic

Authored by durin42 on Apr 4 2022, 3:17 PM.

Details

Summary

This allows us to accept annotations from out-of-tree languages (the
example test is derived from Rust) so they can enjoy the benefits of
LLVM's optimizations without requiring LLVM to have language-specific
knowledge.

Diff Detail

Event Timeline

durin42 created this revision.Apr 4 2022, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 3:17 PM
durin42 requested review of this revision.Apr 4 2022, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 3:17 PM
durin42 updated this revision to Diff 420860.Apr 6 2022, 7:42 AM
durin42 edited the summary of this revision. (Show Details)
durin42 updated this revision to Diff 421213.Apr 7 2022, 7:36 AM
durin42 updated this revision to Diff 422248.Apr 12 2022, 8:33 AM
durin42 updated this revision to Diff 424974.Apr 25 2022, 10:55 AM
durin42 updated this revision to Diff 425074.Apr 25 2022, 5:16 PM
durin42 updated this revision to Diff 425368.Apr 26 2022, 5:35 PM
durin42 updated this revision to Diff 425500.Apr 27 2022, 6:05 AM
durin42 updated this revision to Diff 425843.Apr 28 2022, 10:34 AM
durin42 updated this revision to Diff 426091.Apr 29 2022, 9:29 AM
durin42 updated this revision to Diff 426099.Apr 29 2022, 9:35 AM
durin42 updated this revision to Diff 426411.May 2 2022, 7:04 AM
durin42 updated this revision to Diff 426736.May 3 2022, 8:48 AM
durin42 updated this revision to Diff 426778.May 3 2022, 10:45 AM
durin42 updated this revision to Diff 427092.May 4 2022, 11:37 AM
durin42 updated this revision to Diff 427757.May 6 2022, 2:40 PM
durin42 updated this revision to Diff 430163.May 17 2022, 12:28 PM
durin42 updated this revision to Diff 431701.May 24 2022, 9:45 AM
bogner accepted this revision.Jun 14 2022, 12:41 PM
bogner added a subscriber: bogner.

Seems completely reasonable.

This revision is now accepted and ready to land.Jun 14 2022, 12:41 PM
durin42 updated this revision to Diff 444097.Jul 12 2022, 3:47 PM
durin42 updated this revision to Diff 445900.Jul 19 2022, 11:57 AM
durin42 updated this revision to Diff 446205.Jul 20 2022, 10:35 AM
durin42 updated this revision to Diff 446561.Jul 21 2022, 10:24 AM
nikic accepted this revision.Jul 21 2022, 12:05 PM

LGTM

This revision was landed with ongoing or failed builds.Jul 21 2022, 12:31 PM
This revision was automatically updated to reflect the committed changes.