diff options
| author | Michael Liao <michael.hliao@gmail.com> | 2019-08-20 21:02:31 +0000 |
|---|---|---|
| committer | Michael Liao <michael.hliao@gmail.com> | 2019-08-20 21:02:31 +0000 |
| commit | a99086dbdd92a39ad130f407fad82fee975f986b (patch) | |
| tree | fdde8310a513793be05b2c804044c363c35525ec | |
| parent | 100957153a91bc8f69b9abbede29612667c8e5a8 (diff) | |
| download | bcm5719-llvm-a99086dbdd92a39ad130f407fad82fee975f986b.tar.gz bcm5719-llvm-a99086dbdd92a39ad130f407fad82fee975f986b.zip | |
[Attributor] Remove unused variable. NFC.
llvm-svn: 369444
| -rw-r--r-- | llvm/lib/Transforms/IPO/Attributor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp index 4cdb385c3e3..bbd14d7c0c9 100644 --- a/llvm/lib/Transforms/IPO/Attributor.cpp +++ b/llvm/lib/Transforms/IPO/Attributor.cpp @@ -1628,7 +1628,7 @@ struct AAIsDeadImpl : public AAIsDead { /// the callee is nounwind and noreturn. Otherwise, we keep the invoke /// and only place an unreachable in the normal successor. if (Invoke2CallAllowed) { - if (Function *Callee = II->getCalledFunction()) { + if (II->getCalledFunction()) { const IRPosition &IPos = IRPosition::callsite_function(*II); const auto &AANoUnw = A.getAAFor<AANoUnwind>(*this, IPos); if (AANoUnw.isAssumedNoUnwind()) { |

