[all-commits] [llvm/llvm-project] de018f: [clang][CodeGen] The `eh_typeid_for` intrinsic nee...

Alex Voicu via All-commits all-commits at lists.llvm.org
Wed Sep 20 09:12:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de018f5ca4b2598f6bbf7a27a1fb51935792c276
      https://github.com/llvm/llvm-project/commit/de018f5ca4b2598f6bbf7a27a1fb51935792c276
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/CGException.cpp
    A clang/test/CodeGenCXX/try-catch-with-address-space.cpp

  Log Message:
  -----------
  [clang][CodeGen] The `eh_typeid_for` intrinsic needs special care too (#65699)

This change is symmetric with the one reviewed in
<https://reviews.llvm.org/D157452> and handles the exception handling
specific intrinsic, which slipped through the cracks, in the same way,
by inserting an address-space cast iff RTTI is in a non-default AS.




More information about the All-commits mailing list