================
@@ -175,6 +175,9 @@ def int_spv_rsqrt :
DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty]
def int_spv_resource_getpointer
: DefaultAttrsIntrinsic<[llvm_anyptr_ty], [llvm_any_ty, llvm_i32_ty],
[IntrNoMem]>;
+ def int_spv_resource_load_with_status
+ : DefaultAttrsIntrinsic<[llvm_anyptr_ty], [llvm_any_ty, llvm_i32_ty,
llvm_i32_ty],
+ [IntrNoMem]>;
----------------
bogner wrote:
Since we aren't actually generating this ever, and the logic for DirectX has
special handling depending on the resource type, it's probably best not to
define this intrinsic at this point. @bob80905 was there an existing issue to
support `Load(int, out uint)` and `CheckAccessFullyMapped` in SPIR-V, or should
we use #166954 (in which case we need to add some detail there)?
https://github.com/llvm/llvm-project/pull/166449
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits