Skip to content

Commit

Permalink
Remove SrcVT only used in an assert and propagate query.
Browse files Browse the repository at this point in the history
  • Loading branch information
echristo committed Dec 26, 2019
1 parent 2369560 commit 1584e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/X86/X86ISelLowering.cpp
Expand Up @@ -18586,8 +18586,8 @@ static SDValue lowerINT_TO_FP_vXi64(SDValue Op, SelectionDAG &DAG,
bool IsStrict = Op->isStrictFPOpcode();
MVT VT = Op->getSimpleValueType(0);
SDValue Src = Op->getOperand(IsStrict ? 1 : 0);
MVT SrcVT = Src.getSimpleValueType();
assert((SrcVT == MVT::v2i64 || SrcVT == MVT::v4i64) &&
assert((Src.getSimpleValueType() == MVT::v2i64 ||
Src.getSimpleValueType() == MVT::v4i64) &&
"Unsupported custom type");

// With AVX512DQ, but not VLX we need to widen to get a 512-bit result type.
Expand Down

0 comments on commit 1584e2f

Please sign in to comment.