summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2018-10-23 15:43:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2018-10-23 15:43:36 +0000
commit1e212e8abb65d264b62a19f7eaa61bc3f94c978b (patch)
tree58bbf627ba6010343eb3d0e6fd0560b703d6168d /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parentb975ff4700351334e74d4d26219668092c7cbc16 (diff)
downloadbcm5719-llvm-1e212e8abb65d264b62a19f7eaa61bc3f94c978b.tar.gz
bcm5719-llvm-1e212e8abb65d264b62a19f7eaa61bc3f94c978b.zip
[LegalizeDAG] Remove unused variable
llvm-svn: 345040
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index d0fb3ea2d30..9f18920a8a1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -1104,8 +1104,6 @@ SDValue VectorLegalizer::ExpandCTLZ(SDValue Op) {
}
SDValue VectorLegalizer::ExpandCTTZ(SDValue Op) {
- EVT VT = Op.getValueType();
-
// Attempt to expand using TargetLowering.
SDValue Result;
if (TLI.expandCTTZ(Op.getNode(), Result, DAG))
OpenPOWER on IntegriCloud