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:
parent
abb8dd65f9
commit
dfd3a1d37d
@ -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…
x
Reference in New Issue
Block a user