We will shortly re-use this for select-like br-phi pairs.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks pretty straightforward, with a minor question.
Thanks.
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
4566 | What else than an instruction it could be here? |
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
4566 | 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. |
What else than an instruction it could be here?