[clang] [clang][RISCV] Introduce CodeGenModule::calcRISCVZicfilpFuncSigLabel() (PR #111661)

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 05:36:10 PDT 2024


================
@@ -2829,6 +2829,56 @@ void CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD,
       F->addTypeMetadata(0, llvm::ConstantAsMetadata::get(CrossDsoTypeId));
 }
 
+uint32_t
+CodeGenModule::calcRISCVZicfilpFuncSigLabel(const FunctionType &FT,
+                                            const bool IsCXXInstanceMethod,
+                                            const bool IsCXXVirtualMethod) {
----------------
kito-cheng wrote:

I assume this need use when we implement `%lpad_hash`, so this should implement under llvm folder rather than here. 

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


More information about the cfe-commits mailing list