[llvm] [PowerPC] Specify inlining behavior in TableGen (PR #206938)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 09:07:12 PDT 2026
nikic wrote:
> Would it be necessary to go through every subtarget feature to mark the appropriate TableGen inlining annotation? I know we do a couple in this patch, just not sure if we should be doing it for every feature?
The default is InlineDefault which allows inlining if the caller has the feature but the callee does not. This is the behavior that should be used in most cases. We only need to annotate the ones where either the feature is irrelevant for inlining (tuning features) or has some kind of special semantics (like a negative feature).
https://github.com/llvm/llvm-project/pull/206938
More information about the llvm-commits
mailing list