[AArch64][GlobalISel] Don't allow s128 for G_ISNAN
authorJessica Paquette <jpaquette@apple.com>
Wed, 18 Aug 2021 20:57:42 +0000 (13:57 -0700)
committerJessica Paquette <jpaquette@apple.com>
Wed, 18 Aug 2021 20:59:00 +0000 (13:59 -0700)
commitc22b64ef66f7518abb6f022fcdfd86d16c764caf
tree26e9226a10a04c32ce4cdad642468efe41455215
parentb2e77cd095a677bcd7a3ba4fb3da5c811e994cc9
[AArch64][GlobalISel] Don't allow s128 for G_ISNAN

getAPFloatFromSize doesn't support s128, so we can't lower this without
asserting right now.

To fix the buildbots, don't allow any scalars other than s16, s32, and s64.
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp