[clang] [CIR] Generalize the special member attribute into func_info and add a callee resolver (PR #207261)

Rithik Sharma via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 17:22:53 PDT 2026


================
@@ -1051,6 +1051,27 @@ unsigned cir::CallOp::getNumArgOperands() {
   return this->getOperation()->getNumOperands();
 }
 
+static cir::FuncOp resolveCalleeImpl(mlir::Operation *op,
+                                     mlir::SymbolTableCollection *symbolTable) {
+  auto callee = op->getAttrOfType<mlir::FlatSymbolRefAttr>(
+      CIRDialect::getCalleeAttrName());
----------------
SharmaRithik wrote:

Thanks! Applied the change

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


More information about the cfe-commits mailing list