In the example from:
https://bugs.llvm.org/show_bug.cgi?id=38502
...we hit infinite looping/crashing because we have non-standard IR - an instruction operand is used before defined.
This is allowed in unreachable blocks, so I'm proposing to avoid the problem by using DominatorTree to step around the landmines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM