[Mlir-commits] [mlir] [MLIR][NVVM] Add support for nvvm.breakpoint Op (PR #107193)
Pradeep Kumar
llvmlistbot at llvm.org
Mon Sep 9 06:05:54 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:
Fixed in the latest revision of the PR
https://github.com/llvm/llvm-project/pull/107193
More information about the Mlir-commits
mailing list