Not sure what this was originally intended for, but this seems to be
unused. It didn't seem to be used when it was first added in D64630
either.
Details
Details
- Reviewers
jmorse - Commits
- rG3eccb40fa983: [RegisterCoalescer] Remove DbgMergedVRegNums (NFC)
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
/me squints -- hmmm, maybe this is why there were still false variable locations after register coalescing when I tried to fix them up, ouch.
The intention behind this was detecting when the repeated merging of virtual registers led to variable locations getting the wrong value -- which can happen transitively, hence there was a map for tracking which VRegs were now "in" other VRegs. The compile-time performance of this was bad, and it just didn't work properly in general, hence instr-ref recomputes SSA in full.
Seeing how nothing ever adds anything to DbgMergedVRegNums, it's clearly dead code and can be deleted.