[AArch64][GlobalISel] Add some more legal types for G_PHI, G_IMPLICIT_DEF, G_FREEZE.
authorAmara Emerson <amara@apple.com>
Thu, 1 Oct 2020 00:20:57 +0000 (17:20 -0700)
committerAmara Emerson <amara@apple.com>
Thu, 1 Oct 2020 00:25:33 +0000 (17:25 -0700)
commit4ab45cc2260d87f18e1b05517d5d366b2e754b72
treef475203e2324ec9ea05e4919e6dde34479e26035
parente24f0ac7a389fcb5c2f5295e717d9f7d3fcd4cea
[AArch64][GlobalISel] Add some more legal types for G_PHI, G_IMPLICIT_DEF, G_FREEZE.

Also use this opportunity start to clean up the mess of vector type lists we
have in the LegalizerInfo. Unfortunately since the legalizer rule builders require
std::initializer_list objects as parameters we can't programmatically generate the
type lists.
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-freeze.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir