[clang] [CIR] Implement ARM-specific lowering for method pointers (PR #196592)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon May 11 06:14:57 PDT 2026
================
@@ -321,11 +335,12 @@ void LowerItaniumCXXABI::lowerGetMethod(
mlir::Value ptrdiffOne =
cir::ConstantOp::create(locBuilder, cir::IntAttr::get(ptrdiffCIRTy, 1));
- mlir::Value adj =
+ mlir::Value rawAdj =
cir::ExtractMemberOp::create(locBuilder, ptrdiffCIRTy, loweredMethod, 1);
+ mlir::Value adj = rawAdj;
if (useARMMethodPtrABI) {
- op.emitError("ARM method ptr abi NYI");
- return;
+ adj =
----------------
erichkeane wrote:
Single line with curleys?
https://github.com/llvm/llvm-project/pull/196592
More information about the cfe-commits
mailing list