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
Event Timeline
Comment Actions
LGTM with nits (see comments to the test).
test/Transforms/IndVarSimplify/inner-loop.ll | ||
---|---|---|
3 | 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 | should be -> should not be | |
35 | Within a bug -> Due to the bug? | |
37 | Maybe add CHECK-NOT: select i1 true? |
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.