Depends on D13613.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
- address review: add comment
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
1635–1637 | No specific reason; we've only run into the sext case so far. If you think that it'll be good for symmetry, I can add a separate change for nuw by next week. |
Comment Actions
LGTM, but please do the obvious thing with zext too. I don't feel like the zext tests will need my review, but you can ask me to look at them if you feel otherwise. Thanks for the patch!
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
1635–1637 | Please do. You'll find the functions exceptionally symmetric already. :) |
// sext(A +nsw B +nsw ... ) --> sext(A) +nsw sext(B) +nsw ...