We could try harder and handle non-splat vector constants too, but that seems much rarer to me.
Note that the div test isn't resolved because there's a check for isIntegerTy() guarding that transform.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Analysis/ValueTracking.cpp | ||
---|---|---|
1503–1507 | I think you could use m_APInt to merge these cases together. |
I don't think you need to initialize this.