[llvm] 3953540 - Remove unused variable. NFC.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 12:15:05 PST 2019
Author: Michael Liao
Date: 2019-12-03T15:14:41-05:00
New Revision: 3953540d8bb5cf1d34851eeeadc0fd5ece486818
URL: https://github.com/llvm/llvm-project/commit/3953540d8bb5cf1d34851eeeadc0fd5ece486818
DIFF: https://github.com/llvm/llvm-project/commit/3953540d8bb5cf1d34851eeeadc0fd5ece486818.diff
LOG: Remove unused variable. NFC.
Added:
Modified:
llvm/unittests/IR/PatternMatch.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/IR/PatternMatch.cpp b/llvm/unittests/IR/PatternMatch.cpp
index 80e0e92615ae..c987b7b813e7 100644
--- a/llvm/unittests/IR/PatternMatch.cpp
+++ b/llvm/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);
More information about the llvm-commits
mailing list