[all-commits] [llvm/llvm-project] 698985: [llvm][HWASan] Replace calls to Type::getPointerTo...
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Tue Nov 28 12:49:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6989859254e8ce486d21d5a981c7fddf7964c7ad
https://github.com/llvm/llvm-project/commit/6989859254e8ce486d21d5a981c7fddf7964c7ad
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[llvm][HWASan] Replace calls to Type::getPointerTo (NFC)
If `Type::getPointerTo` is called solely to support an unnecessary
pointer-cast, remove the call entirely.
Otherwise, replace with IRB.getPtrTy().
Clean-up work towards removing method `Type::getPointerTo`.
More information about the All-commits
mailing list