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

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Mar 18 13:48:23 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1515c4ac202ddb684523e86f2e14c231c23e3d82
      https://github.com/llvm/llvm-project/commit/1515c4ac202ddb684523e86f2e14c231c23e3d82
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-03-18 (Tue, 18 Mar 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