OSDN Git Service

[X86] Remove 128-bit lane handling from the main loop of matchVectorShuffleAsByteRota...
authorCraig Topper <craig.topper@gmail.com>
Sat, 22 Oct 2016 06:51:44 +0000 (06:51 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 22 Oct 2016 06:51:44 +0000 (06:51 +0000)
commitc042fa88a74a35428dbed369e8108da2383a4a77
tree6ed3f654dae5cf08470437977f7d3cbb5f9a9ff3
parent231a23af50728ce240c865dda2b19794c0e7835d
[X86] Remove 128-bit lane handling from the main loop of matchVectorShuffleAsByteRotate. Instead check for is128LaneRepeatedSuffleMask before the loop and just loop over the repeated mask.

I plan to use the loop to support VALIGND/Q shuffles so this makes it easier to reuse.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284912 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp