[llvm] 6a53ab8 - [SVE][NFC] Remove unused variable

Tobias Bosch via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 14:31:20 PDT 2020


Author: Tobias Bosch
Date: 2020-04-29T14:30:32-07:00
New Revision: 6a53ab82d777059b1fecf78a5d0a98ae40e82460

URL: https://github.com/llvm/llvm-project/commit/6a53ab82d777059b1fecf78a5d0a98ae40e82460
DIFF: https://github.com/llvm/llvm-project/commit/6a53ab82d777059b1fecf78a5d0a98ae40e82460.diff

LOG: [SVE][NFC] Remove unused variable

Summary: Remove unused variable.

Reviewers: echristo, efriedma

Reviewed By: echristo

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79129

Added: 
    

Modified: 
    llvm/unittests/IR/VectorTypesTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/VectorTypesTest.cpp b/llvm/unittests/IR/VectorTypesTest.cpp
index 821b73aa04f4..b55ea57ba502 100644
--- a/llvm/unittests/IR/VectorTypesTest.cpp
+++ b/llvm/unittests/IR/VectorTypesTest.cpp
@@ -257,7 +257,6 @@ TEST(VectorTypesTest, BaseVectorType) {
     for (size_t J = I + 1, JEnd = VTys.size(); J < JEnd; ++J) {
       // test I < J
       VectorType *VJ = VTys[J];
-      ElementCount ECJ = VJ->getElementCount();
       EXPECT_VTY_NE(VI, VJ);
 
       VectorType *VJPrime = VectorType::get(VI->getElementType(), VJ);


        


More information about the llvm-commits mailing list