mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
[x86] Add an assert to catch if we ever try to blend a v32i8 without
AVX2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cc3bcaea20
commit
34f88924e1
@ -6175,6 +6175,9 @@ static SDValue lowerVectorShuffleAsBlend(SDLoc DL, MVT VT, SDValue V1,
|
||||
// FALLTHROUGH
|
||||
case MVT::v16i8:
|
||||
case MVT::v32i8: {
|
||||
assert((VT.getSizeInBits() == 128 || Subtarget->hasAVX2()) &&
|
||||
"256-bit byte-blends require AVX2 support!");
|
||||
|
||||
// Scale the blend by the number of bytes per element.
|
||||
int Scale = VT.getScalarSizeInBits() / 8;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user