[SVE] Remove reliance on TypeSize comparison operators in unit tests
authorDavid Sherwood <david.sherwood@arm.com>
Fri, 9 Oct 2020 13:29:15 +0000 (14:29 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Wed, 21 Oct 2020 07:05:55 +0000 (08:05 +0100)
commitf5815105d2762d68000996bff9041216cd7b732e
treedc712c4fac8966512c50a6431e9b0aac5255c6b4
parentb4a289b03ced24799da818f7da4cb0febe35ac4b
[SVE] Remove reliance on TypeSize comparison operators in unit tests

The EXPECT_XY comparison functions all rely upon using the existing
TypeSize comparison operators, which we are deprecating in favour
of isKnownXY. I've changed all such cases to compare either the known
minimum size or the fixed size.

Differential Revision: https://reviews.llvm.org/D89531
llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
llvm/unittests/IR/VectorTypesTest.cpp