Skip to content

Commit 2a1a907

Browse files
authored
[mlir] Fix bug that prevents application of PrintingFlags in LocationSnapshotPass
1 parent cb4433b commit 2a1a907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/LocationSnapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ struct LocationSnapshotPass
140140

141141
void runOnOperation() override {
142142
Operation *op = getOperation();
143-
if (failed(generateLocationsFromIR(fileName, op, OpPrintingFlags(), tag)))
143+
if (failed(generateLocationsFromIR(fileName, op, flags, tag)))
144144
return signalPassFailure();
145145
}
146146

0 commit comments

Comments
 (0)