Skip to content
Unverified Commit 450dfab8 authored by Luke Lau's avatar Luke Lau Committed by GitHub
Browse files

[RISCV] Add tests where bin ops of splats could be scalarized. NFC (#65747)

This adds tests for fixed and scalable vectors where we have a binary op
on two splats that could be scalarized. Normally this would be
scalarized in the middle-end by VectorCombine, but as noted in
https://reviews.llvm.org/D159190, this pattern can crop up during
CodeGen afterwards.

Note that a combine already exists for this, but on RISC-V currently it
only works on scalable vectors where the element type == XLEN. See
#65068 and #65072
parent ba727ac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment