search for: areinlinecompat

Displaying 2 results from an estimated 2 matches for "areinlinecompat".

2020 Aug 17
4
Inlining with different target features
...k of for this problem would be to allow targets to opt-in to having a caller's feature set updated to include the callee's feature set when the callee is inlined into the caller. This could be implemented via a new TTI hook, but a more general solution might be to change the return type of `areInlineCompatible` to allow targets to control this behavior on a case-by-case basis. Does this general direction sound ok, and if so, would it be better to add a new hook or add functionality to the existing one? Thanks, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: &l...
2020 Aug 31
3
Inlining with different target features
...ackends to specify LLVM IR passes that should be run early, though. Is that possible, or would frontends have to add this extra pass when targeting Wasm? On Mon, Aug 31, 2020 at 1:40 PM Eric Christopher <echristo at gmail.com> wrote: > Hi Thomas, > > I'd prefer not to change areInlineCompatible because I think it reads > fairly closely what is expected here (also see x86 for how this is used for > subset inlining calculations). I think if you plan on updating all of the > features for the functions to match you might just want to do that > initially rather than try to upda...