HomePhabricator

[ARM] Fixed an assumption of power-of-2 vector MVT

Authored by tpr on Mar 17 2019, 1:48 PM.

Description

[ARM] Fixed an assumption of power-of-2 vector MVT

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, as shown by test/CodeGen/ARM/vcvt_combine.ll and
vdiv_combine.ll.

Differential Revision: https://reviews.llvm.org/D58927

Change-Id: I56a282e365d3874ab0621e5bdef98a612f702317
llvm-svn: 356341

Details

Committed
tprMar 17 2019, 1:48 PM
Differential Revision
D58927: [ARM] Fixed an assumption of power-of-2 vector MVT
Parents
rG10ba65cc48f9: [AMDGPU] Regenerate some f16/i16 tests.
Branches
Unknown
Tags
Unknown