Skip to content
Snippets Groups Projects
Commit a5e13325 authored by Autumn on Tape's avatar Autumn on Tape Committed by Mike Blumenkrantz
Browse files

gallivm: use shufflevector for shuffles when index is constant data


This checks if index is a ConstantAggregateZero, ConstantDataSequential,
or UndefValue and emits a single shufflevector instead of a loop if so.

Signed-off-by: default avatarAutumn on Tape <autumn@cyfox.net>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!13671>
parent fdb6bb31
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment