[Mlir-commits] [mlir] [mlir][spirv] Add definition for OpKill (PR #126554)

Jakub Kuderski llvmlistbot at llvm.org
Tue Feb 11 01:48:54 PST 2025


================
@@ -242,6 +242,50 @@ def SPIRV_FunctionCallOp : SPIRV_Op<"FunctionCall", [
 
 // -----
 
+def SPIRV_KillOp : SPIRV_Op<"Kill", [Terminator]>,
+                   CppDeprecated<"use 'spirv.TerminateInvocation' or 'spirv.DemoteToHelperInvocation' instead">
----------------
kuhar wrote:

Does this result in deprecation warnings in any C++ code that references this Op? If yes, I don't think this is desired despite the op being deprecated at the SPIR-V level, since our support is not deprecated per se.

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


More information about the Mlir-commits mailing list