This patch is based on D63312 and D63319. For now we create shallow wrappers for all functions that are IPO amendable.
See also this github issue.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
- Added tests
- Added noinline attribute to call site to prevent the internal function being inlined
llvm/test/Transforms/Attributor/wrapper.ll | ||
---|---|---|
1 ↗ | (On Diff #251359) | run it with the new pass manager as well -passes=attributor and verify we set the norecurse attribute on the wrapped functions. |
16 ↗ | (On Diff #251359) | add the name of the function, even if it is @0 or something. Here and above at the call site. |
llvm/test/Transforms/Attributor/wrapper.ll | ||
---|---|---|
1 ↗ | (On Diff #251359) | did you mean -passes=attributor-cgscc ? |
Comment Actions
Apologies for the delay, can you rebase this and provide me with "Firstname Lastname <email>" from you so I can attribute it to you?
NumAttrsRequiredDeepWrapper is not used, or is it?