When scalarizing PHI nodes we might try to examine/rewrite
InsertElement nodes in predecessors. If those predecessors
are unreachable from entry, then the IR in those blocks could
have unexpected properties resulting in infinite loops in
Scatterer::operator[]. So we better remove unreachable blocks
before scalarizing the function.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 17408 Build 17408: arc lint + arc unit
Event Timeline
Comment Actions
I've got another solution for this problem for our out-of-tree-target. So I'll abandon this.