Skip to content
Commit 398c8554 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Improve splatPartsI64WithVL for vlmax scalable vector constants where...

[RISCV] Improve splatPartsI64WithVL for vlmax scalable vector constants where Hi and Lo are the same.

We can use a 32-bit splat and bitcast to i64 vector.

This only handles the case where we are using vlmax so that the new
vl is cheap to compute. This could be generalized to double the VL.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D158879
parent 4184bafa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment