[clang] [CIR] Upstream support for pointer-to-method casts (PR #178004)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 15:54:12 PST 2026


================
@@ -86,6 +86,18 @@ class CIRCXXABI {
   lowerDerivedDataMember(cir::DerivedDataMemberOp op, mlir::Value loweredSrc,
                          mlir::OpBuilder &builder) const = 0;
 
+  /// Lower the given cir.base_method op to a sequence of more "primitive" CIR
----------------
andykaylor wrote:

Yeah, I hadn't really thought about that., but you're right.

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


More information about the cfe-commits mailing list