aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-07-12 14:58:15 +0000
committerFangrui Song <maskray@google.com>2019-07-12 14:58:15 +0000
commitb251cc0d91362ea44f00a0138998a0272791f7dc (patch)
treefb2f4a2e59243cd19de79db04acf1e1e408e9661 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parenta196469e67ce578df4fc9f348cc5b7221f12b239 (diff)
downloadllvm-b251cc0d91362ea44f00a0138998a0272791f7dc.zip
llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.tar.gz
llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.tar.bz2
Delete dead stores
llvm-svn: 365903
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 6e4be9e..a7f0f7a 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -1499,7 +1499,7 @@ void llvm::updateProfileCallee(
return;
uint64_t priorEntryCount = CalleeCount.getCount();
- uint64_t newEntryCount = priorEntryCount;
+ uint64_t newEntryCount;
// Since CallSiteCount is an estimate, it could exceed the original callee
// count and has to be set to 0 so guard against underflow.