[clang] [clang][CodeGen] Create .inline builtin clones in EmitGlobalFunctionDefinition (PR #234415)

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 00:05:12 PST 2026


XinlongZHANG-Bob wrote:

hello @vitalybuka , your PR looks good. My [PR](https://github.com/llvm/llvm-project/pull/245514) depens on this PR.
I would like to move setting `use-sample-profile` from  `CodeGenFunction::StartFunction` to `CodeGenModule::SetLLVMFunctionAttributesForDefinition`. But there are some corner cases that some function definition does not go to `SetLLVMFunctionAttributesForDefinition`, this PR fixes one of the corner cases. Is there any plan to merge it?

https://github.com/llvm/llvm-project/pull/234415


More information about the cfe-commits mailing list