[SVE] Remove getNumElements() calls in Verifier::visitIntrinsicCall
authorDavid Sherwood <david.sherwood@arm.com>
Mon, 8 Jun 2020 10:20:13 +0000 (11:20 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Mon, 8 Jun 2020 11:38:14 +0000 (12:38 +0100)
commitcda166c37ce98b0934c9c4780ad39ce6885da724
treed87befcf88ca916fdec4617bfa858a4a352bc84c
parent4c50cf9197370a6a42601bf39c0cd8606b8ff6ec
[SVE] Remove getNumElements() calls in Verifier::visitIntrinsicCall

Replace getNumElements() with getElementCount() when asserting that
two types have the same element counts.

Differential Revision: https://reviews.llvm.org/D81371
llvm/lib/IR/Verifier.cpp