[all-commits] [llvm/llvm-project] f69b9b: [llvm] Remove uses of Type::getPointerTo() (NFC)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Sat Jul 8 10:07:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f69b9b7cce0487110ae0823222a716fc9b6a49db
https://github.com/llvm/llvm-project/commit/f69b9b7cce0487110ae0823222a716fc9b6a49db
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2023-07-08 (Sat, 08 Jul 2023)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/X86/X86InterleavedAccess.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[llvm] Remove uses of Type::getPointerTo() (NFC)
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()`.
Also, remove no-op function `EmitBitCastOfLValueToProperType()`.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D154392
More information about the All-commits
mailing list