Skip to content
Commit acecdc02 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[x86] Fix PR21139, one of the last remaining regressions found in the

new vector shuffle lowering.

This is loosely based on a patch by Marius Wachtler to the PR (thanks!).
I refactored it a bi to use std::count_if and a mutable array ref but
the core idea was exactly right. I also added some direct testing of
this case.

I believe PR21137 is now the only remaining regression.

llvm-svn: 219081
parent ae81abfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment