[Mlir-commits] [mlir] 1cf9876 - [mlir] Fix build after 83d59e05b201

Alexandre Ganea llvmlistbot at llvm.org
Fri Jan 28 14:21:34 PST 2022


Author: Alexandre Ganea
Date: 2022-01-28T17:21:30-05:00
New Revision: 1cf9876661a169228b27905508df55d4a3b691b7

URL: https://github.com/llvm/llvm-project/commit/1cf9876661a169228b27905508df55d4a3b691b7
DIFF: https://github.com/llvm/llvm-project/commit/1cf9876661a169228b27905508df55d4a3b691b7.diff

LOG: [mlir] Fix build after 83d59e05b201

Differential Revision: https://reviews.llvm.org/D118510

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp b/mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
index 3409fce67d810..35fa48c189fd6 100644
--- a/mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
@@ -439,7 +439,8 @@ SerializeToHsacoPass::createHsaco(const SmallVectorImpl<char> &isaBinary) {
     // Invoke lld. Expect a true return value from lld.
     if (!lld::elf::link({"ld.lld", "-shared", tempIsaBinaryFilename.c_str(),
                          "-o", tempHsacoFilename.c_str()},
-                        /*canEarlyExit=*/false, llvm::outs(), llvm::errs())) {
+                        llvm::outs(), llvm::errs(), /*exitEarly=*/true,
+                        /*disableOutput=*/false)) {
       emitError(loc, "lld invocation error");
       return {};
     }


        


More information about the Mlir-commits mailing list