I am about to introduce some non-power-of-2 width vector MVTs. This
commit fixes a power-of-2 assumption that my forthcoming change would
otherwise break.
Change-Id: I56a282e365d3874ab0621e5bdef98a612f702317
Differential D58927
[ARM] Fixed an assumption of power-of-2 vector MVT tpr on Mar 4 2019, 3:15 PM. Authored by
Details I am about to introduce some non-power-of-2 width vector MVTs. This Change-Id: I56a282e365d3874ab0621e5bdef98a612f702317
Diff Detail
Event Timeline
Comment Actions Hi Kristof I can't make a test fail here, because v3i32/v3f32 are not yet MVTs. With my change to add them as MVTs, and without this commit here, I get test failures in test/CodeGen/ARM/vcvt_combine.ll and vdiv_combine.ll. I guess I should have mentioned that in the original commit message. :-) I will include it when I land it.
|
Is this more readable? I'm not sure if you need to permit NumLanes == 1 or not.
FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)