[clang] [CIR] Freeze maybe_undef call arguments (PR #234124)
Arseniy Obolenskiy via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 24 03:32:15 PDT 2026
================
@@ -1359,6 +1380,10 @@ RValue CIRGenFunction::emitCall(const CIRGenFunctionInfo &funcInfo,
assert(!cir::MissingFeatures::lowerAggregateLoadStore());
cirCallArgs[argNo] = builder.createLoad(argLoc, src);
}
+
+ if (isArgumentMaybeUndef(targetDecl, funcInfo.getNumRequiredArgs(), argNo))
----------------
aobolensk wrote:
CallConvLowering now moves the freeze onto the post-ABI values, like classic codegen, so coerced padding gets frozen too
https://github.com/llvm/llvm-project/pull/234124
More information about the cfe-commits
mailing list