2 Commits

Author SHA1 Message Date
Helena Kotas
07ce57ffcb
[DirectX] Add support for implicit binding to DXILForwardHandleAccesses pass (#142061)
Since the `DXILResourceImplicitBinding` pass has been moved after `DXILForwardHandleAccesses` pass the forward-handle pass needs to handle `llvm.dx.resource.handlefromimplicitbinding` calls as well.
2025-05-30 10:01:57 -07:00
Justin Bogner
a83b4a2dc9
[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.
2025-04-23 10:27:09 -06:00