Partial progress towards replacing in-tree uses of
Type::getPointerTo().
If getPointerTo() is used solely to support an unnecessary bitcast,
remove the bitcast.
Paths
| Differential D153307
[llvm] Replace use of Type::getPointerTo() (NFC) ClosedPublic Authored by JOE1994 on Jun 19 2023, 3:14 PM.
Details Summary Partial progress towards replacing in-tree uses of If getPointerTo() is used solely to support an unnecessary bitcast,
Diff Detail
Event TimelineComment Actions Checked that no new regressions occur with ninja check-clang & ninja check-llvm. Used git clang-format for formatting affected lines. Comment Actions LGTM If you haven't done so yet, can you please apply for commit access as described in https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access? This revision is now accepted and ready to land.Jun 20 2023, 12:36 AM Closed by commit rGd22a236ae721: [llvm] Replace use of Type::getPointerTo() (NFC) (authored by JOE1994). · Explain WhyJun 23 2023, 7:32 PM This revision was automatically updated to reflect the committed changes. Comment Actions I've acquired commit access today, and pushed the commit to llvm-project main.
Revision Contents
Diff 532760 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
|