[all-commits] [llvm/llvm-project] 46fa21: [RISCV] Lower splats of non-constant i1s as SETCCs
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue May 4 01:21:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46fa214a6f24549d83a69793b7e14585c2eefa2b
https://github.com/llvm/llvm-project/commit/46fa214a6f24549d83a69793b7e14585c2eefa2b
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll
M llvm/test/CodeGen/RISCV/rvv/vsplats-i1.ll
Log Message:
-----------
[RISCV] Lower splats of non-constant i1s as SETCCs
This patch adds support for splatting i1 types to fixed-length or
scalable vector types. It does so by lowering the operation to a SETCC
of the equivalent i8 type.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D101465
More information about the All-commits
mailing list