[llvm] [IR] Replace uses of IRBuilder::getInt8PtrTy with getPtrTy. NFC (PR #73154)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 10:46:54 PST 2023


================
@@ -42,7 +42,7 @@ StructType *SanitizerStatReport::makeModuleStatsTy() {
 void SanitizerStatReport::create(IRBuilder<> &B, SanitizerStatKind SK) {
   Function *F = B.GetInsertBlock()->getParent();
   Module *M = F->getParent();
-  PointerType *Int8PtrTy = B.getInt8PtrTy();
+  PointerType *Int8PtrTy = B.getPtrTy();
----------------
MaskRay wrote:

Rename the variable

https://github.com/llvm/llvm-project/pull/73154


More information about the llvm-commits mailing list