[GlobalISel] NFC: Regen some tests + improve test coverage for wide even types
authorJessica Paquette <jpaquette@apple.com>
Tue, 5 Apr 2022 19:09:31 +0000 (12:09 -0700)
committerJessica Paquette <jpaquette@apple.com>
Tue, 5 Apr 2022 19:13:22 +0000 (12:13 -0700)
commit5830afa53252078e1575ec8218bfe19b5f9cc24c
tree62ad307bdd2bf009733a2fbff055760964dce78e
parent09f33a430b72fffe06fde9e07c0acd5c4cd2e59e
[GlobalISel] NFC: Regen some tests + improve test coverage for wide even types

It turns out we don't do an awesome job with weird types like s318 (and other
types near them, like s316).

We don't have any test coverage for those types, so let's add some so it's
easier to see the impact of legalization improvements on them when we make
changes.

Since the test generator was changed, it's easier to update relevant tests prior
to changing things rather than squinting at a bunch of "ah, CHECK is now
CHECK-NEXT" lines. So, let's just regenerate a bunch of tests while we're
here.

Unfortunately the "CHECK-NEXT" scheme doesn't work with legalize-cmp for some
reason, and the test will fail. So keep that one having CHECK lines.
llvm/test/CodeGen/AArch64/GlobalISel/legalize-and.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-constant.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-or.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-xor.mir