[Mlir-commits] [mlir] [MLIR][NVVM] Add support for nvvm.breakpoint Op (PR #107193)

Pradeep Kumar llvmlistbot at llvm.org
Mon Sep 9 06:48:34 PDT 2024


================
@@ -610,4 +610,12 @@ llvm.func @nvvm_fence_proxy_tensormap_generic_acquire(%addr : !llvm.ptr) {
   // CHECK: call void @llvm.nvvm.fence.proxy.tensormap_generic.acquire.sys(ptr {{%[0-9]+}}, i32 128)
   nvvm.fence.proxy.acquire #nvvm.mem_scope<sys> %addr, %c128
   llvm.return
+}
+
+// -----
+// CHECK-LABEL: @nvvm_breakpoint
+llvm.func @nvvm_breakpoint() {
+  // CHECK: call void @llvm.debugtrap()
+  nvvm.breakpoint
+  llvm.return
 }
----------------
schwarzschild-radius wrote:

I can see the newline in vscode/editor but not in the diff. @grypp Can I still go ahead and merge?

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


More information about the Mlir-commits mailing list