[all-commits] [llvm/llvm-project] 474ec6: [clang] Replace uses of CGBuilderTy::CreateElement...

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Tue Jun 27 07:40:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 474ec694191a51d7f30a11f8b03dee911c8ef346
      https://github.com/llvm/llvm-project/commit/474ec694191a51d7f30a11f8b03dee911c8ef346
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGCXXABI.cpp
    M clang/lib/CodeGen/CGNonTrivialStruct.cpp
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/lib/CodeGen/Targets/Hexagon.cpp
    M clang/lib/CodeGen/Targets/LoongArch.cpp
    M clang/lib/CodeGen/Targets/PPC.cpp
    M clang/lib/CodeGen/Targets/X86.cpp

  Log Message:
  -----------
  [clang] Replace uses of CGBuilderTy::CreateElementBitCast (NFC)

Partial progress towards replacing `CreateElementBitCast`, as it no
longer does what its name suggests. Either replace its uses with
`Address::withElementType()`, or remove them if no longer needed.

Reviewed By: barannikov88, nikic

Differential Revision: https://reviews.llvm.org/D153314




More information about the All-commits mailing list