[SVE][CodeGen] Fix implicit TypeSize->uint64_t casts in TypePromotion
authorDavid Sherwood <david.sherwood@arm.com>
Wed, 30 Sep 2020 14:10:03 +0000 (15:10 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Fri, 2 Oct 2020 07:12:11 +0000 (08:12 +0100)
commitb0ce9f0f4cff7df243b72e308ec863f012724475
treef6c91db6cf60768fce4eeb513ba4fba6d46ec196
parentb8ce6a67568ba16683a2b1a5e8ebd28d5d537874
[SVE][CodeGen] Fix implicit TypeSize->uint64_t casts in TypePromotion

The TypePromotion pass only operates on scalar types so I've fixed up
all places where we were relying upon the implicit cast from
TypeSize->uint64_t.

Differential Revision: https://reviews.llvm.org/D88575
llvm/lib/CodeGen/TypePromotion.cpp