Skip to content

Commit

Permalink
Fix the LLVM build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookhart committed Jan 7, 2025
1 parent d13a040 commit 1ccc3f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third_party/nvidia/lib/NVGPUToLLVM/NVGPUToLLVMPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"

#include "nvidia/lib/TritonNVIDIAGPUToLLVM/Utility.h"
#include "llvm/Support/ErrorHandling.h"

using namespace mlir;
using namespace mlir::triton;
Expand Down Expand Up @@ -271,7 +272,7 @@ class MatrixOpPattern : public OpRewritePattern<MatrixOpType> {
case 4:
return (ptxAsmBase + ".x4" + suffix).str();
default:
assert(false && "Invalid vector size");
llvm_unreachable("Invalid vector size");
}
}

Expand Down

0 comments on commit 1ccc3f6

Please sign in to comment.