Skip to content

Commit 9e09c4d

Browse files
committed
[MLIR] Fix release build: the definition for the FULL_LDBG macro was incorrect
1 parent 04a44fe commit 9e09c4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
#define FULL_LDBG(X) \
2929
DEBUGLOG_WITH_STREAM_AND_TYPE(llvm::dbgs(), DEBUG_TYPE_FULL)
3030
#else
31-
#define FULL_LDBG(X)
31+
#define FULL_LDBG(X) \
32+
for (bool _c = false; _c; _c = false) \
33+
::llvm::nulls()
3234
#endif
3335

3436
using namespace mlir;

0 commit comments

Comments
 (0)