mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
[x86] Sink a variable only used by asserts into the asserts. Should fix
some -Werror bots, sorry for the noise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6f9501b62
commit
33153513fb
@ -18871,9 +18871,9 @@ static bool combineX86ShufflesRecursively(SDValue Op, SDValue Root,
|
||||
if (VT.getSizeInBits() != 128)
|
||||
return false;
|
||||
|
||||
MVT RootVT = Root.getSimpleValueType();
|
||||
assert(RootVT.isVector() && "Shuffles operate on vector types!");
|
||||
assert(VT.getSizeInBits() == RootVT.getSizeInBits() &&
|
||||
assert(Root.getSimpleValueType().isVector() &&
|
||||
"Shuffles operate on vector types!");
|
||||
assert(VT.getSizeInBits() == Root.getSimpleValueType().getSizeInBits() &&
|
||||
"Can only combine shuffles of the same vector register size.");
|
||||
|
||||
if (!isTargetShuffle(Op.getOpcode()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user