diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-30 17:21:20 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-30 17:21:20 +0000 |
| commit | ab8cb1a3c5257351f4875b14aebffb608e533f87 (patch) | |
| tree | 4bab4642f4a8e388f3e2efc3db44578a9563830e /llvm/lib | |
| parent | 122705b91196cfb905d724a39e0cd8c269a9c9a4 (diff) | |
| download | bcm5719-llvm-ab8cb1a3c5257351f4875b14aebffb608e533f87.tar.gz bcm5719-llvm-ab8cb1a3c5257351f4875b14aebffb608e533f87.zip | |
[DAGCombine] visitVSELECT - remove equivalent getValueType() call. NFCI.
llvm-svn: 370489
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index bf87de9f748..442a0f53732 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -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); |

