[all-commits] [llvm/llvm-project] 7ca135: [Instrumentation] Remove unneeded pointer casts an...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Nov 15 12:51:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ca135cd863609be188f94870356aa74e80af335
      https://github.com/llvm/llvm-project/commit/7ca135cd863609be188f94870356aa74e80af335
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

  Log Message:
  -----------
  [Instrumentation] Remove unneeded pointer casts and migrate away from getInt8PtrTy. NFC

After opaque pointer migration, getInt8PtrTy() is considered legacy.
Replace it with getPtrTy(), and while here, remove some unneeded pointer
casts.




More information about the All-commits mailing list