diff --git a/unittests/IR/PatternMatch.cpp b/unittests/IR/PatternMatch.cpp index 80e0e92615a..c987b7b813e 100644 --- a/unittests/IR/PatternMatch.cpp +++ b/unittests/IR/PatternMatch.cpp @@ -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);