diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-02-12 09:09:22 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-02-12 09:18:10 -0800 |
commit | 875c76de2b6ad67b10c027ed74422642cf4d1aed (patch) | |
tree | d8597a4804e8138ff0e660b0141f45d4f3f0c912 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 7590c0078dd53d9ad508725fc27d96705ac3a206 (diff) | |
download | llvm-875c76de2b6ad67b10c027ed74422642cf4d1aed.zip llvm-875c76de2b6ad67b10c027ed74422642cf4d1aed.tar.gz llvm-875c76de2b6ad67b10c027ed74422642cf4d1aed.tar.bz2 |
[RISCV] Add support for matching .vx and .vi forms of binary instructions for fixed vectors.
Unlike scalable vectors, I'm only using a ComplexPattern for
the immediate itself. The vmv_v_x is matched explicitly. We igore
the VL argument when matching a binary operator, but we do check
it when matching splat directly.
I left out tests for vXi64 as they fail on rv32 right now.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D96365
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions