Skip to content

Commit 17b9223

Browse files
committed
fixup: Include dx.resource.getpointer intrinsic
Including this removes the PR's dependency on llvm#116726
1 parent 2f77d2f commit 17b9223

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/IR/IntrinsicsDirectX.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def int_dx_handle_fromBinding
2727
[llvm_i32_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty, llvm_i1_ty],
2828
[IntrNoMem]>;
2929

30+
def int_dx_resource_getpointer
31+
: DefaultAttrsIntrinsic<[llvm_anyptr_ty], [llvm_any_ty, llvm_i32_ty],
32+
[IntrNoMem]>;
3033
def int_dx_typedBufferLoad
3134
: DefaultAttrsIntrinsic<[llvm_any_ty], [llvm_any_ty, llvm_i32_ty],
3235
[IntrReadMem]>;

0 commit comments

Comments
 (0)