[all-commits] [llvm/llvm-project] d32ffd: [CIR] Add MLIR ABI Lowering design document

adams381 via All-commits all-commits at lists.llvm.org
Fri Mar 6 11:59:18 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d32ffdea7aa4be414f2efc4a77257bcf0709e8a0
      https://github.com/llvm/llvm-project/commit/d32ffdea7aa4be414f2efc4a77257bcf0709e8a0
  Author: adams381 <adams at nvidia.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    A clang/docs/ClangIRABILowering.md
    M clang/docs/index.rst

  Log Message:
  -----------
  [CIR] Add MLIR ABI Lowering design document

Design document for MLIR dialect-agnostic calling convention
lowering that builds on the LLVM ABI Lowering Library
(llvm/lib/ABI/) as the single source of truth for ABI
classification.  Dialects use the library via an adapter layer:
ABITypeMapper maps dialect types to abi::Type*, the library
classifies arguments and returns, and a dialect-specific
ABIRewriteContext applies the decisions back to IR operations.

Targets x86_64 and AArch64, with parity against Classic Clang
CodeGen validated through differential testing.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list