Iterating over SeenBlocks which is a SmallPtrSet results in non-determinism in codegen
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Here is the run-to-run difference in IR which causes difference in codegen. Notice the order of the predicates.
Run1:
polly.stmt.if.then587: ; preds = %polly.stmt.for.end521, %polly.stmt.lor.lhs.false523
Run2:
polly.stmt.if.then587: ; preds = %polly.stmt.lor.lhs.false523, %polly.stmt.for.end521