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
Event Timeline
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
2902–2903 | 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 | ||
2 | This needs REQUIRES: asserts. |
as -> with?