[GlobalISel] Simpler verification of G_SEXT_INREG and G_ASSERT_ZEXT
authorJay Foad <jay.foad@amd.com>
Fri, 12 Feb 2021 11:29:13 +0000 (11:29 +0000)
committerJay Foad <jay.foad@amd.com>
Fri, 12 Feb 2021 21:33:27 +0000 (21:33 +0000)
commit7c749baa3a26ac4d9b7ee94b93356c3c72714755
treeab3857c5fe14bf74ac10902bc5be30cf0de753d2
parent1e92b1730f465323844f5792aa45c9fa7463579e
[GlobalISel] Simpler verification of G_SEXT_INREG and G_ASSERT_ZEXT

There's no need to call verifyVectorElementMatch since we already know
that the source and destination types are identical.

Differential Revision: https://reviews.llvm.org/D96589
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/test/MachineVerifier/test_g_assert_zext.mir
llvm/test/MachineVerifier/test_g_sext_inreg.mir