[PATCH] D153307: [llvm] Replace use of Type::getPointerTo() (NFC)

Youngsuk Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 15:14:52 PDT 2023


JOE1994 created this revision.
JOE1994 added reviewers: barannikov88, nikic.
Herald added subscribers: kmitropoulou, StephenFan, hiraditya.
Herald added a project: All.
JOE1994 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153307

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153307.532760.patch
Type: text/x-patch
Size: 9625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230619/adee55b4/attachment.bin>


More information about the llvm-commits mailing list