[AArch64] Lower all fp zero buildvectors through BUILD_VECTOR.
authorDavid Green <david.green@arm.com>
Wed, 22 Feb 2023 11:26:41 +0000 (11:26 +0000)
committerDavid Green <david.green@arm.com>
Wed, 22 Feb 2023 11:26:41 +0000 (11:26 +0000)
commitc33fd3b47faae130518d2217c66da75af0e969b3
treed3c3f392770e9a52bdf8fdb93029b03703a61cc2
parent314e431406de6e1518836f304a0a0e469c670a71
[AArch64] Lower all fp zero buildvectors through BUILD_VECTOR.

Just like with integers, we can treat zero fp buildvector as legal so that they
can be recognized in tablegen patterns using immAllZerosV.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-build-vector.ll