[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:19 PDT 2026


================
@@ -1086,6 +1098,13 @@ bool isSSERegisterClass(mlir::Type ty) {
 
 } // namespace
 
+cir::FuncType cir::getIndirectCalleeType(cir::CIRCallOpInterface call) {
+  if (!call.isIndirect())
----------------
andykaylor wrote:

It seems like it would be better to assert that the call is indirect and not use this function to test for that.

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


More information about the cfe-commits mailing list