[clang] [CIR] Update get_global type for rewritten callees (PR #214082)
Adam Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 10:51:32 PDT 2026
================
@@ -691,17 +691,35 @@ void CallConvLoweringPass::runOnOperation() {
return;
}
- // Rewrite each function together with every direct call to it. By the
- // time we move on to function F+1, F's signature and every direct call to
- // F have already been brought into alignment, and F+1..FN are still in
- // their original (mutually consistent) form, so the IR is verifier-clean
- // at every outer-iteration boundary.
+ // A cir.get_global holding a function's address carries the signature the
----------------
adams381 wrote:
I agree, and I will do that as a follow up PR.
https://github.com/llvm/llvm-project/pull/214082
More information about the cfe-commits
mailing list