[llvm-branch-commits] [llvm] [DirectX] Create symbols for resource handles (PR #119775)
Justin Bogner via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 16 09:29:56 PST 2024
bogner wrote:
> If there already is a global variable for the resource in the module, shouldn't we be using that instead of creating a new symbol?
The only global variables in the module before this point are the globals for the resource handles. These are (1) the wrong type (they're the handle object itself) and (2) it isn't clear what's happening with them long term. The mechanism here creates a global of the type that DXIL wants in the final output.
https://github.com/llvm/llvm-project/pull/119775
More information about the llvm-branch-commits
mailing list