-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
llvm:corequestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Description
I want to force add attribute not EnumAttr like "use-sample-profile". But llvm doesn't support now. https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp#L62C1-L62C63. Why llvm need to check the attribute? Can we force add attribute as string without checking?
Metadata
Metadata
Assignees
Labels
llvm:corequestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!