Found some regressions (infinite loop in DAGTypeLegalizer::RemapId)
after r334880. This patch makes sure that we do map a TableId to
itself.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | ||
---|---|---|
578 ↗ | (On Diff #152074) | Maybe an alternative solution could be to allow mapping of a value to itself in ReplacedValues, and then we could simply return Id here when Id==I->second. |
658 ↗ | (On Diff #152074) | I think we still need to do this replacement even if FromId == ToId, since From.getNode() != To.getNode(), right? |