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

Igor Wodiany llvmlistbot at llvm.org
Tue Feb 11 02:21:52 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">
----------------
IgWod-IMG wrote:

So, I haven't seen any warnings when building (unless I missed it) or running `mlir-opt` and `mlir-translate` however I looked again at the documentation for `CppDeprecated` and I agree it is not correctly used in here. I'll remove it and push an update.

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


More information about the Mlir-commits mailing list