[clang] [CIR] Upstream support for calling through method pointers (PR #176063)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 15 01:51:20 PST 2026
================
@@ -197,6 +224,129 @@ mlir::Operation *LowerItaniumCXXABI::lowerGetRuntimeMember(
cir::CastKind::bitcast, memberBytesPtr);
}
+void LowerItaniumCXXABI::lowerGetMethod(
----------------
xlauko wrote:
nit: I believe you can use
```
ImplicitLocOpBuilder builder(op.getLoc(), rewriter);
```
an then use `builder` instead of explicitly specifing op.getLoc() in every create.
https://github.com/llvm/llvm-project/pull/176063
More information about the cfe-commits
mailing list