HomePhabricator

[x86] Fix another miscompile in the new vector shuffle lowering found

Description

[x86] Fix another miscompile in the new vector shuffle lowering found
via the fuzz tester.

Here I missed an offset when round-tripping a value through a shuffle
mask. I got it right 2 lines below. See a problem? I do. ;] I'll
probably be adding a little "swap" algorithm which accepts a range and
two values and swaps those values where they occur in the range. Don't
really have a name for it, let me know if you do.

Details

Committed
chandlercAug 7 2014, 3:14 AM
Parents
rL215093: Commit PowerPC64 support from Carlo Bertolli at IBM.
Branches
Unknown
Tags
Unknown

Event Timeline