[all-commits] [llvm/llvm-project] e26e9b: [Loads][NFC] Add isDereferenceablePointer overload...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Jun 15 07:12:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e26e9ba06f46f9619bb6d2df40850a54559640ce
      https://github.com/llvm/llvm-project/commit/e26e9ba06f46f9619bb6d2df40850a54559640ce
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/Loads.h
    M llvm/lib/Analysis/Loads.cpp
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  [Loads][NFC] Add isDereferenceablePointer overload taking a size (#203905)

Quite a few places just end up passing `Align(1)` as the alignment.
Instead, provide an overload of `isDereferenceablePointer` taking a size
instead of a `Type*` and use that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list