Details
- Reviewers
nicolasvasilache rriddle
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The func dialect has no notion of a "noinline" attribute. Are you trying to propose such a thing here?
I had a scenario where I wanted the callOp not to be inlined.
This is how I solved it, based on your change in Test dialect: https://reviews.llvm.org/D90359
Do you think I should implement it differently?
River's point is more that this attribute is not documented nor load bearing today, the legality depending on an attribute has not been specified and if you intend to propose this attribute as a load bearing concept for this op.
Now whether legal to inline may be getting should only be inlined in some case (there is an ongoing discussion on this on the forum).
Do you suggest adding this attribute to the func dialect? Or do you suggest discussing the whole idea of not always returning true?