[all-commits] [llvm/llvm-project] 22cd38: [CIR] ThrowOp with Complex type as Subexpr (#163078)

Amr Hesham via All-commits all-commits at lists.llvm.org
Wed Oct 15 09:13:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22cd3807d187f5bf16a5abf893933aa9c7944ca4
      https://github.com/llvm/llvm-project/commit/22cd3807d187f5bf16a5abf893933aa9c7944ca4
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/test/CIR/CodeGen/throws.cpp

  Log Message:
  -----------
  [CIR] ThrowOp with Complex type as Subexpr (#163078)

Upstream support to throw Complex type with RTTI and update
`getComdatAttr` to perform symtab lookup before adding new selector to
comdat, to avoid generating duplicate symbol in comdat.

Ref from FIR:
https://github.com/llvm/clangir/blob/8c0951a3efbc6fec04312d36739771b2c840c8d2/flang/lib/Optimizer/CodeGen/CodeGen.cpp#L3281-L3283

Issue #154992



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