The debug output of replaceDominatedUsesWith() prints incorrect
information, and the user is left confused about what exactly was
replaced. Fix this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,040 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
2899 | If you're already here, I think this should either print *From or From->printAsOperand(dbgs()) (the former prints the whole instruction, the latter just the name, but in a way that e.g. also works if it's an unnamed instruction). | |
llvm/test/Transforms/Util/local-dbg-print.ll | ||
1 | This needs REQUIRES: asserts. |
If you're already here, I think this should either print *From or From->printAsOperand(dbgs()) (the former prints the whole instruction, the latter just the name, but in a way that e.g. also works if it's an unnamed instruction).