[all-commits] [llvm/llvm-project] 22637a: [Loads] Respect UseDerefAtPointSemantics in isDere...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jan 17 04:52:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22637a877ae7fbfd5cf030400979fd4527eaebcf
      https://github.com/llvm/llvm-project/commit/22637a877ae7fbfd5cf030400979fd4527eaebcf
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M llvm/lib/Analysis/Loads.cpp
    M llvm/lib/IR/Value.cpp
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll

  Log Message:
  -----------
  [Loads] Respect UseDerefAtPointSemantics in isDerefAndAlignedPointer. (#123196)

If a pointer gets freed, it may not be dereferenceable any longer, even
though there is a dominating dereferenceable assumption. As first step,
only consider assumptions if the pointer value cannot be freed if
UseDerefAtPointSemantics is used.

PR: https://github.com/llvm/llvm-project/pull/123196



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