llvm-project
2fc4d0ec - [MLIR] Fix use-after-move in debug logging (#165208)

Commit
86 days ago
[MLIR] Fix use-after-move in debug logging (#165208) 1. In `Transforms.cpp` the debug macro is accessing a SmallVector variable that has been moved-from and reset. Fixed by reordering code for the move-from to happen last. 2. `IterationGraphSorter` Refine the previous use-after-move fix for style/readability by renaming the private constructor args to resolve naming ambiguity with the class members. Testing: `ninja check-mlir`
Author
Parents
Loading