[PATCH] D155232: [llvm] Remove uses of Type::getPointerTo() (NFC)
Youngsuk Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 13:59:18 PDT 2023
JOE1994 created this revision.
JOE1994 added reviewers: nikic, barannikov88.
Herald added subscribers: Enna1, StephenFan, pengfei, hiraditya.
Herald added a project: All.
JOE1994 requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.
Herald added a project: LLVM.
Partial progress towards removing in-tree uses of `getPointerTo()`,
by employing the following options:
- Drop the call entirely if the sole purpose of it is to support a no-op bitcast (remove the no-op bitcast as well).
- Replace with `PointerType::get()`/`PointerType::getUnqual()`
This is a NFC cleanup effort.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155232
Files:
llvm/lib/CodeGen/AtomicExpandPass.cpp
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155232.540178.patch
Type: text/x-patch
Size: 15756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/bc6a8b2f/attachment-0001.bin>
More information about the llvm-commits
mailing list