Skip to content
Unverified Commit 928564ca authored by Philip Reames's avatar Philip Reames Committed by GitHub
Browse files

[RISCV] Combine a gather to a larger element type (#66694)

If we have a gather load whose indices correspond to valid offsets for a
gather with element type twice that our source, we can reduce the number
of indices and perform the operation at the larger element type.

This is generally profitable since we half VL - and these operations are
linear in VL. This may require some additional VL/VTYPE toggles, but
this appears to be worthwhile on the whole.
parent 915ebb07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment