Skip to content
Commit d2533d96 authored by Nemanja Ivanovic's avatar Nemanja Ivanovic
Browse files

[PowerPC] Fix crash for shuffle canonicalization with elt 0 from RHS

Commit 1fed1316 assumed that shuffle vector canonicalization will
always ensure that the shuffle mask will be ordered so that element
zero comes from the LHS vector. However there is code out there for
which this is not the case. This patch simply removes that unsafe
assumption and makes the code work regardless of the source of the
first element.
parent e73c3bb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment