[all-commits] [llvm/llvm-project] 275bae: [LAA] Consider accessed addrspace when mapping und...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Feb 28 12:56:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 275baedfde9dcd344bc4f11f552b046a69a4bf3f
      https://github.com/llvm/llvm-project/commit/275baedfde9dcd344bc4f11f552b046a69a4bf3f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    A llvm/test/Analysis/LoopAccessAnalysis/underlying-object-different-address-spaces.ll

  Log Message:
  -----------
  [LAA] Consider accessed addrspace when mapping underlying obj to access. (#129087)

In some cases, it is possible for the same underlying object to be
accessed via pointers to different address spaces. This could lead to
pointers from different address spaces ending up in the same dependency
set, which isn't allowed (and triggers an assertion).

Update the mapping from underlying object -> last access to also include
the accessing address space.

Fixes https://github.com/llvm/llvm-project/issues/124759.

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



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