1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[DAGCombine] visitVSELECT - remove equivalent getValueType() call. NFCI.

llvm-svn: 370489
This commit is contained in:
Simon Pilgrim 2019-08-30 17:21:20 +00:00
parent abb8dd65f9
commit dfd3a1d37d

View File

@ -8711,7 +8711,6 @@ SDValue DAGCombiner::visitVSELECT(SDNode *N) {
isAbs = ISD::isBuildVectorAllZeros(N1.getOperand(0).getNode());
if (isAbs) {
EVT VT = LHS.getValueType();
if (TLI.isOperationLegalOrCustom(ISD::ABS, VT))
return DAG.getNode(ISD::ABS, DL, VT, LHS);