[all-commits] [llvm/llvm-project] 9081ac: [DirectX][ResourceAccess] Resolve resource handles...

Finn Plummer via All-commits all-commits at lists.llvm.org
Tue Mar 3 09:07:05 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9081ac255a8b82c78c3a8c5a3db4f72ecca21cba
      https://github.com/llvm/llvm-project/commit/9081ac255a8b82c78c3a8c5a3db4f72ecca21cba
  Author: Finn Plummer <mail at inbelic.dev>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
    A llvm/test/CodeGen/DirectX/ResourceAccess/handle-cases.ll
    A llvm/test/CodeGen/DirectX/ResourceAccess/handle-to-index.ll
    A llvm/test/CodeGen/DirectX/ResourceAccess/non-unique.ll

  Log Message:
  -----------
  [DirectX][ResourceAccess] Resolve resource handles at access (#182106)

This change resolves handles (or corresponding ptr) that all point into
a unique global resource by propagating an index into that global
resource through control flow.

If a unique global resource can't be resolved, an error is reported
instead.

This specifically resolves all handles that point into the same global
resource array.

Resolves: https://github.com/llvm/llvm-project/issues/165288

By reporting an error, this is part of resolving
https://github.com/llvm/llvm-project/issues/179303.



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