[PATCH] D89116: [SVE][AArch64] Replace TypeSize comparisons with their integer equivalents

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 08:59:33 PDT 2020


sdesmalen added a comment.

Please ignore my comments about `getScalarSizeInBits`, I thought that interface would assert that the type is not a vector (which I thought would be an extra guard that it's okay to ask for the fixed-size).
Instead, it returns the element type if the type is a vector, so in that case I agree it's better to use `getFixedSizeInBits()`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89116/new/

https://reviews.llvm.org/D89116



More information about the llvm-commits mailing list