[all-commits] [llvm/llvm-project] 204883: [NFC] Replace uses of Type::getPointerTo
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Fri Sep 29 18:39:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 204883623ebd194669fc54435222e5bfb245b011
https://github.com/llvm/llvm-project/commit/204883623ebd194669fc54435222e5bfb245b011
Author: JOE1994 <joseph942010 at gmail.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M mlir/lib/ExecutionEngine/ExecutionEngine.cpp
Log Message:
-----------
[NFC] Replace uses of Type::getPointerTo
Replace some uses of `Type::getPointerTo` via 2 ways
* Remove entirely if it's only used to support an unnecessary bitcast
(remove the bitcast as well).
* Replace with `PointerType::get`/`PointerType::getUnqual`
NFC opaque pointer clean-up effort.
More information about the All-commits
mailing list