[all-commits] [llvm/llvm-project] d22a23: [llvm] Replace use of Type::getPointerTo() (NFC)

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Fri Jun 23 19:32:47 PDT 2023


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

  Changed paths:
    M llvm/lib/CodeGen/ExpandMemCmp.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  [llvm] Replace use of Type::getPointerTo() (NFC)

Partial progress towards replacing in-tree uses of
`Type::getPointerTo()`.

If `getPointerTo()` is used solely to support an unnecessary bitcast,
remove the bitcast.

Reviewed By: barannikov88, nikic

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




More information about the All-commits mailing list