Skip to content

Commit 1cf9876

Browse files
committed
[mlir] Fix build after 83d59e0
Differential Revision: https://reviews.llvm.org/D118510
1 parent 030f716 commit 1cf9876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ SerializeToHsacoPass::createHsaco(const SmallVectorImpl<char> &isaBinary) {
439439
// Invoke lld. Expect a true return value from lld.
440440
if (!lld::elf::link({"ld.lld", "-shared", tempIsaBinaryFilename.c_str(),
441441
"-o", tempHsacoFilename.c_str()},
442-
/*canEarlyExit=*/false, llvm::outs(), llvm::errs())) {
442+
llvm::outs(), llvm::errs(), /*exitEarly=*/true,
443+
/*disableOutput=*/false)) {
443444
emitError(loc, "lld invocation error");
444445
return {};
445446
}

0 commit comments

Comments
 (0)