[llvm-branch-commits] [DirectX] Lower `@llvm.dx.handle.fromBinding` to DXIL ops (PR #104251)
David Peixotto via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 21 15:41:45 PDT 2024
================
@@ -683,6 +685,14 @@ def Dot4 : DXILOp<56, dot4> {
let attributes = [Attributes<DXIL1_0, [ReadNone]>];
}
+def CreateHandle : DXILOp<57, createHandle> {
+ let Doc = "creates the handle to a resource";
+ // ResourceClass, RangeID, Index, NonUniform
+ let arguments = [Int8Ty, Int32Ty, Int32Ty, Int1Ty];
+ let result = HandleTy;
+ let stages = [Stages<DXIL1_0, [all_stages]>];
----------------
dmpots wrote:
This should be invalid starting in DXIL_1_6 I think, right? Did we add a way to express that in the TD definition?
https://github.com/llvm/llvm-project/pull/104251
More information about the llvm-branch-commits
mailing list