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
- Build Status
Buildable 19507 Build 19507: arc lint + arc unit
Event Timeline
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | ||
---|---|---|
578 | 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 | I think we still need to do this replacement even if FromId == ToId, since From.getNode() != To.getNode(), right? |
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.