From 4037f3b9213f76bb0077275412593bbcfd7a8713 Mon Sep 17 00:00:00 2001 From: Jokeren Date: Thu, 5 Jan 2023 16:09:44 -0500 Subject: [PATCH] Add comment --- lib/Conversion/TritonGPUToLLVM/TritonGPUToLLVM.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Conversion/TritonGPUToLLVM/TritonGPUToLLVM.cpp b/lib/Conversion/TritonGPUToLLVM/TritonGPUToLLVM.cpp index 621f583c4..0ba7cee69 100644 --- a/lib/Conversion/TritonGPUToLLVM/TritonGPUToLLVM.cpp +++ b/lib/Conversion/TritonGPUToLLVM/TritonGPUToLLVM.cpp @@ -301,6 +301,7 @@ struct AssertOpConversion // MLIR::AssertOp is lowered to a call to llvm.abort, which cannot be // handled by ptxas // We should call __assertfail here + // Delete the definition of triton.assert, using mlir.assert instead PTXBuilder builder; auto &trapOp = *builder.create("trap"); trapOp().predicate(condition);