[clang] [CIR] Lower variadic arguments through an indirect call (PR #227477)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 14:58:20 PDT 2026


================
@@ -1168,7 +1156,7 @@ void CallConvLoweringPass::runOnOperation() {
   // cached as the next one to visit.
   SmallVector<cir::CIRCallOpInterface> indirectCalls;
   moduleOp.walk([&](cir::CIRCallOpInterface c) {
-    if (indirectCalleeType(c))
+    if (getIndirectCalleeType(c))
----------------
andykaylor wrote:

```suggestion
    if (c.isIndirect())
```

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


More information about the cfe-commits mailing list