Skip to content

Commit 0739d52

Browse files
apaszkejax authors
authored andcommitted
[Mosaic GPU] Don't always run with llvm::DebugFlag enabled
This slipped past during code review. PiperOrigin-RevId: 641899993
1 parent cd93b46 commit 0739d52

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

jaxlib/mosaic/gpu/passes.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ limitations under the License.
1919
#include <vector>
2020

2121
#include "llvm/include/llvm/ADT/StringRef.h"
22-
#include "llvm/include/llvm/Support/Debug.h"
2322
#include "mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h"
2423
#include "mlir/include/mlir/Conversion/LLVMCommon/TypeConverter.h"
2524
#include "mlir/include/mlir/Dialect/GPU/IR/GPUDialect.h"
@@ -45,7 +44,6 @@ class ConvertGpuToLLVMPass
4544
static constexpr llvm::StringLiteral kPassName = "ConvertGpuToLLVMPass";
4645

4746
void runOnOperation() override {
48-
llvm::DebugFlag = true;
4947
mlir::MLIRContext *ctx = &getContext();
5048
mlir::RewritePatternSet patterns(ctx);
5149
mlir::LLVMTypeConverter converter(ctx);
@@ -65,7 +63,6 @@ class ConvertGpuToLLVMPass
6563
.failed()) {
6664
signalPassFailure();
6765
}
68-
llvm::DebugFlag = false;
6966
}
7067
};
7168

0 commit comments

Comments
 (0)