[llvm] [SPIR-V] Introduce support for 'spirv.Decorations' metadata node in SPIR-V Backend (PR #91736)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 23:46:37 PDT 2024
================
@@ -14,6 +14,7 @@ let TargetPrefix = "spv" in {
def int_spv_assign_type : Intrinsic<[], [llvm_any_ty, llvm_metadata_ty]>;
def int_spv_assign_ptr_type : Intrinsic<[], [llvm_any_ty, llvm_metadata_ty, llvm_i32_ty], [ImmArg<ArgIndex<2>>]>;
def int_spv_assign_name : Intrinsic<[], [llvm_any_ty, llvm_vararg_ty]>;
+ def int_spv_assign_decoration : Intrinsic<[], [llvm_any_ty, llvm_metadata_ty]>;
----------------
michalpaszkowski wrote:
Please update the [SPIRVUsage](https://llvm.org/docs/SPIRVUsage.html#target-intrinsics) document with relevant information about the new intrinsic.
https://github.com/llvm/llvm-project/pull/91736
More information about the llvm-commits
mailing list