commit | d91c9122d3fe443ca0ad525dcb64b9affce6262f | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Sun Feb 10 02:21:29 2019 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Sun Feb 10 02:21:29 2019 +0000 |
tree | 1c199653e64c44f0b7d5edd76d1387a38c98eba5 | |
parent | fe93663ba1556f003b35ce30fe0062c7ce40ae15 [diff] |
[InstCombine] Fix an unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353630 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp index ab7c3a5..56d5c89 100644 --- a/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -4350,7 +4350,7 @@ PN->getParent() == II->getUnwindDest()) return false; // FIXME: Be conservative for callbr to avoid a quadratic search. - if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) + if (isa<CallBrInst>(Caller)) return false; } }