mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Replace EVT with MVT in isHorizontalBinOp as it is only called with legal types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e363350f5
commit
aa0f420567
@ -17721,7 +17721,7 @@ static bool isHorizontalBinOp(SDValue &LHS, SDValue &RHS, bool IsCommutative) {
|
||||
RHS.getOpcode() != ISD::VECTOR_SHUFFLE)
|
||||
return false;
|
||||
|
||||
EVT VT = LHS.getValueType();
|
||||
MVT VT = LHS.getValueType().getSimpleVT();
|
||||
|
||||
assert((VT.is128BitVector() || VT.is256BitVector()) &&
|
||||
"Unsupported vector type for horizontal add/sub");
|
||||
|
Loading…
x
Reference in New Issue
Block a user