[all-commits] [llvm/llvm-project] 02c9da: [HLSL] Add support to lookup a ResourceBindingInfo...
Ashley Coleman via All-commits
all-commits at lists.llvm.org
Tue Feb 18 16:29:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02c9dae8149722448ac955a3dad774a1a82d2df0
https://github.com/llvm/llvm-project/commit/02c9dae8149722448ac955a3dad774a1a82d2df0
Author: Ashley Coleman <ascoleman at microsoft.com>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/unittests/Target/DirectX/CMakeLists.txt
A llvm/unittests/Target/DirectX/UniqueResourceFromUseTests.cpp
Log Message:
-----------
[HLSL] Add support to lookup a ResourceBindingInfo from its use (#126556)
Adds `findByUse` which takes a `llvm::Value` from a use and resolves it
(as best as possible) back to the creation of that resource.
It may return multiple ResourceBindingInfo if the use comes from
branched control flow.
Fixes #125746
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