[ASAN] Use TypeSize in InterestingMemoryOperand [mostly NFC]
authorPhilip Reames <preames@rivosinc.com>
Thu, 2 Mar 2023 15:44:00 +0000 (07:44 -0800)
committerPhilip Reames <listmail@philipreames.com>
Thu, 2 Mar 2023 15:57:40 +0000 (07:57 -0800)
commit45b6a33b5173db8d2b02f71a22aab7fb87f549c7
treec02573412d089b641b1599f84d33c71842f0dbf4
parentc546f13f1f43e34a6a39ac70d3cf70adab4d05f4
[ASAN] Use TypeSize in InterestingMemoryOperand [mostly NFC]

This is a mechanical prep change for scalable vector support.  All it does is move the point of TypeSize to unsigned (i.e. the unsafe cast) closer to point of use.
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp