[PATCH] D114858: [AArch64][SVE] Enable bf16 vector.insert
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 1 05:28:10 PST 2021
paulwalker-arm added a comment.
In D114858#3163966 <https://reviews.llvm.org/D114858#3163966>, @MattDevereau wrote:
> In D114858#3163710 <https://reviews.llvm.org/D114858#3163710>, @paulwalker-arm wrote:
>
>> Do the tests have to live in a new file instead of sitting alongside the other variants in sve-insert-vector.ll? I see nothing SVE2 related here.
>
> I saw `#if defined(__ARM_FEATURE_SVE2) && defined(__ARM_FEATURE_SVE_BF16)` in another file so assumed bf16 was SVE2 only
That will be to protect SVE2 specific BF16 instructions. SVE also has BF16 instructions, for example BFDOT. These tests only really care about the type as no BF16 related instructions are necessary so they can all sit within the same file. For a similar example see sve-vector-splat.ll.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114858/new/
https://reviews.llvm.org/D114858
More information about the llvm-commits
mailing list