[Mlir-commits] [mlir] [MLIR][NVVM] Add support for nvvm.breakpoint Op (PR #107193)
Guray Ozen
llvmlistbot at llvm.org
Sat Sep 7 07:03:20 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
}
----------------
grypp wrote:
Nit : newline
https://github.com/llvm/llvm-project/pull/107193
More information about the Mlir-commits
mailing list