mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
[x86] The mnemonic is SHUFPS not SHUPFS. =[ I'm very bad at spelling
sadly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7929a210d5
commit
a7579ed23f
@ -7939,7 +7939,7 @@ static SDValue lowerV2I64VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
|
||||
/// This is a helper routine dedicated to lowering vector shuffles using SHUFPS.
|
||||
/// It makes no assumptions about whether this is the *best* lowering, it simply
|
||||
/// uses it.
|
||||
static SDValue lowerVectorShuffleWithSHUPFS(SDLoc DL, MVT VT,
|
||||
static SDValue lowerVectorShuffleWithSHUFPS(SDLoc DL, MVT VT,
|
||||
ArrayRef<int> Mask, SDValue V1,
|
||||
SDValue V2, SelectionDAG &DAG) {
|
||||
SDValue LowV = V1, HighV = V2;
|
||||
@ -8122,7 +8122,7 @@ static SDValue lowerV4F32VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
|
||||
}
|
||||
|
||||
// Otherwise fall back to a SHUFPS lowering strategy.
|
||||
return lowerVectorShuffleWithSHUPFS(DL, MVT::v4f32, Mask, V1, V2, DAG);
|
||||
return lowerVectorShuffleWithSHUFPS(DL, MVT::v4f32, Mask, V1, V2, DAG);
|
||||
}
|
||||
|
||||
/// \brief Lower 4-lane i32 vector shuffles.
|
||||
@ -9596,7 +9596,7 @@ static SDValue lowerV8F32VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
|
||||
for (int i = 0; i < 4; ++i)
|
||||
if (RepeatedMask[i] >= 8)
|
||||
RepeatedMask[i] -= 4;
|
||||
return lowerVectorShuffleWithSHUPFS(DL, MVT::v8f32, RepeatedMask, V1, V2, DAG);
|
||||
return lowerVectorShuffleWithSHUFPS(DL, MVT::v8f32, RepeatedMask, V1, V2, DAG);
|
||||
}
|
||||
|
||||
// If we have a single input shuffle with different shuffle patterns in the
|
||||
|
Loading…
Reference in New Issue
Block a user