ScalarEvolution::isKnownPredicate invokes isLoopEntryGuardedByCond without check
that SCEV is available at entry point of the loop. it is incorrect and fixed by patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with nits (see comments to the test).
test/Transforms/IndVarSimplify/inner-loop.ll | ||
---|---|---|
3 ↗ | (On Diff #130120) | Could you please give some more details on this bug here? It is not clear what problem are you addressing. Either a comment or a reference on bugs.llvm.com would work. |
33 ↗ | (On Diff #130120) | should be -> should not be |
35 ↗ | (On Diff #130120) | Within a bug -> Due to the bug? |
37 ↗ | (On Diff #130120) | Maybe add CHECK-NOT: select i1 true? |