We will shortly re-use this for select-like br-phi pairs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks pretty straightforward, with a minor question.
Thanks.
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
4566 ↗ | (On Diff #36334) | What else than an instruction it could be here? |
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
4566 ↗ | (On Diff #36334) | It could be a SelectOperator (a ConstantExpr). These won't have their condition operand be an icmp anyway (which is the first thing we check for in createNodeForSelect), so ignoring these at this place is fine. I'll add a comment stating what I just said. |