forked from OSchip/llvm-project
[DAGCombine] visitVSELECT - remove equivalent getValueType() call. NFCI.
llvm-svn: 370489
This commit is contained in:
parent
122705b911
commit
ab8cb1a3c5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue