Remove unused variable. NFC.
authorMichael Liao <michael.hliao@gmail.com>
Tue, 3 Dec 2019 20:14:41 +0000 (15:14 -0500)
committerMichael Liao <michael.hliao@gmail.com>
Tue, 3 Dec 2019 20:14:41 +0000 (15:14 -0500)
llvm/unittests/IR/PatternMatch.cpp

index 80e0e92..c987b7b 100644 (file)
@@ -184,7 +184,6 @@ TEST_F(PatternMatchTest, SpecificIntUGT) {
 
 TEST_F(PatternMatchTest, SignbitZeroChecks) {
   Type *IntTy = IRB.getInt32Ty();
-  unsigned BitWidth = IntTy->getScalarSizeInBits();
 
   Value *Zero = ConstantInt::get(IntTy, 0);
   Value *One = ConstantInt::get(IntTy, 1);