[llvm] [SPIR-V] Introduce support for 'spirv.Decorations' metadata node in SPIR-V Backend (PR #91736)

Ilia Diachkov via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 11:42:06 PDT 2024


================
@@ -59,6 +59,10 @@ void buildOpDecorate(Register Reg, MachineInstr &I, const SPIRVInstrInfo &TII,
                      const std::vector<uint32_t> &DecArgs,
                      StringRef StrImm = "");
 
+// Add an OpDecorate instruction by "spirv.Decorations" metadata node
----------------
iliya-diyachkov wrote:

Please add '.' at the end of the comment.

https://github.com/llvm/llvm-project/pull/91736


More information about the llvm-commits mailing list