[all-commits] [llvm/llvm-project] 987b9e: [DirectX] NonUniformResourceIndex lowering
Helena Kotas via All-commits
all-commits at lists.llvm.org
Thu Sep 18 10:24:29 PDT 2025
Branch: refs/heads/users/hekota/pr159608-nuri-backend
Home: https://github.com/llvm/llvm-project
Commit: 987b9e121700fb578db4cbb8112f932628c9fa42
https://github.com/llvm/llvm-project/commit/987b9e121700fb578db4cbb8112f932628c9fa42
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-09-18 (Thu, 18 Sep 2025)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
A llvm/test/CodeGen/DirectX/CreateHandle-NURI.ll
A llvm/test/CodeGen/DirectX/CreateHandleFromBinding-NURI.ll
Log Message:
-----------
[DirectX] NonUniformResourceIndex lowering
Introduces `llvm.{dx|svp}.resource.nonuniformindex` intrinsic that will be used when a resource index is not guaranteed to be uniform across threads (HLSL function NonUniformResourceIndex).
The DXIL lowering layer looks for this intrinsic call in the resource index calculation, makes sure it is reflected in the NonUniform flag on DXIL create handle ops (`dx.op.createHandle` and `dx.op.createHandleFromBinding`), and then removes it from the module.
Closes #155701
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