[clang] [CIR] Implement 'weak-ref' lowering (PR #238538)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 3 17:49:46 PST 2026
================
@@ -974,7 +974,9 @@ Address CIRGenFunction::emitExtVectorElementLValue(LValue lv,
}
static cir::FuncOp emitFunctionDeclPointer(CIRGenModule &cgm, GlobalDecl gd) {
----------------
andykaylor wrote:
Tangential to your PR, this function looks like the CIR equivalent of classic's `getRawFunctionPointer`, but we're calling it in some places that classic calls `CodeGenModule::getFunctionPointer`, which does a `hasPrototype` check before calling `getRawFunctionPointer`. Do you think we're still missing something in some of these places?
https://github.com/llvm/llvm-project/pull/238538
More information about the cfe-commits
mailing list