[all-commits] [llvm/llvm-project] c67653: [RISCV] Support vXf16 vector_shuffle with Zvfhmin....
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Jul 3 23:56:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c67653fbc3dd4ea9ab2a32c481a9ac4411020c7b
https://github.com/llvm/llvm-project/commit/c67653fbc3dd4ea9ab2a32c481a9ac4411020c7b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll
Log Message:
-----------
[RISCV] Support vXf16 vector_shuffle with Zvfhmin. (#97491)
We can shuffle vXf16 vectors just like vXi16 vectors. We don't need any
FP instructions. Update the predicates for vrgather and vslides patterns
to only check the predicates based on the equivalent integer type. If we
use the FP type it will check Zvfh and block Zvfhmin.
These are probably not the only patterns that need to be fixed, but the
test from the bug report no longer crashes.
Fixes #97477
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list