[all-commits] [llvm/llvm-project] f834a4: [CIR][ABI] Handle callee-destructed params for tri...

adams381 via All-commits all-commits at lists.llvm.org
Wed Apr 15 15:21:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f834a48f78077c96f05635effc2ed59d91633aeb
      https://github.com/llvm/llvm-project/commit/f834a48f78077c96f05635effc2ed59d91633aeb
  Author: adams381 <adams at nvidia.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCall.cpp
    A clang/test/CIR/CodeGen/trivial-abi.cpp

  Log Message:
  -----------
  [CIR][ABI] Handle callee-destructed params for trivial_abi (#191257)

Replace errorNYI for isParamDestroyedInCallee with working
implementation: create aggregate temp, mark externally destructed,
emit expr.  Unblocks [[trivial_abi]] types on Itanium ABI.

Adds trivial-abi.cpp test covering 17 cases from
CodeGenCXX/trivial_abi.cpp with CIR/LLVM/OGCG checks.

Made with [Cursor](https://cursor.com)



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