mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
AVX-512: I brought back vector-shuffle-512-v8.ll test.
I re-generated it after all AVX-512 shuffle optimizations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71bb0e10c4
commit
0880fe5997
@ -6360,7 +6360,8 @@ static SDValue get1bitLaneShuffleImm8ForMask(ArrayRef<int> Mask, SDLoc DL,
|
||||
"Up to 8 elts may be in Imm8 1-bit lane shuffle mask");
|
||||
unsigned Imm = 0;
|
||||
for (unsigned i = 0; i < Mask.size(); ++i)
|
||||
Imm |= (Mask[i] % 2) << i;
|
||||
if (Mask[i] >= 0)
|
||||
Imm |= (Mask[i] % 2) << i;
|
||||
return DAG.getConstant(Imm, DL, MVT::i8);
|
||||
}
|
||||
|
||||
|
1153
test/CodeGen/X86/vector-shuffle-512-v8.ll
Normal file
1153
test/CodeGen/X86/vector-shuffle-512-v8.ll
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user