[all-commits] [llvm/llvm-project] e40625: [RISCV] Disable matchSplatAsGather for i1 vectors ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jun 13 13:41:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4062522d33160ffa538bbc6eb8ddf945f534aad
https://github.com/llvm/llvm-project/commit/e4062522d33160ffa538bbc6eb8ddf945f534aad
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vsplats-i1.ll
Log Message:
-----------
[RISCV] Disable matchSplatAsGather for i1 vectors to prevent creating illegal nodes.
We were incorrectly creating a VRGATHER node with i1 vector type. We
could support this by promoting the mask to i8 and truncating it, but
for now I want to prevent the crash.
Fixes PR56007.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D127681
More information about the All-commits
mailing list