[all-commits] [llvm/llvm-project] a83b4a: [DirectX] Implement the ForwardHandleAccesses pass...

Justin Bogner via All-commits all-commits at lists.llvm.org
Wed Apr 23 09:27:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a83b4a2dc9706d9e898f3462b5c2ff5ed05589d2
      https://github.com/llvm/llvm-project/commit/a83b4a2dc9706d9e898f3462b5c2ff5ed05589d2
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Target/DirectX/CMakeLists.txt
    A llvm/lib/Target/DirectX/DXILForwardHandleAccesses.cpp
    A llvm/lib/Target/DirectX/DXILForwardHandleAccesses.h
    M llvm/lib/Target/DirectX/DirectX.h
    M llvm/lib/Target/DirectX/DirectXPassRegistry.def
    M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
    A llvm/test/CodeGen/DirectX/ForwardHandleAccesses/alloca.ll
    A llvm/test/CodeGen/DirectX/ForwardHandleAccesses/ambiguous.ll
    A llvm/test/CodeGen/DirectX/ForwardHandleAccesses/buffer-O0.ll
    A llvm/test/CodeGen/DirectX/ForwardHandleAccesses/cbuffer-access.ll
    A llvm/test/CodeGen/DirectX/ForwardHandleAccesses/undominated.ll
    M llvm/test/CodeGen/DirectX/llc-pipeline.ll

  Log Message:
  -----------
  [DirectX] Implement the ForwardHandleAccesses pass (#135378)

This pass attempts to forward resource handle creation to accesses of
the handle global. This avoids dependence on optimizations like CSE and
GlobalOpt for correctness of DXIL.

Fixes #134574.



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