aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2020-11-19 16:28:34 +0700
committerMax Kazantsev <mkazantsev@azul.com>2020-11-19 16:28:34 +0700
commit515105f46b7e0037fe49a6fa8e469823c3f8433e (patch)
tree9ff27af39e014be1d85f5e17db71bd571990b65d /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parent7c601d09a76b55d191448d70b47a0a575db914b6 (diff)
downloadllvm-515105f46b7e0037fe49a6fa8e469823c3f8433e.zip
llvm-515105f46b7e0037fe49a6fa8e469823c3f8433e.tar.gz
llvm-515105f46b7e0037fe49a6fa8e469823c3f8433e.tar.bz2
[NFC] Remove comment (commited ahead of time by mistake)
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyIndVar.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
index 0467f6d..2693f45 100644
--- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
@@ -1556,9 +1556,6 @@ bool WidenIV::widenWithVariantUse(WidenIV::NarrowIVDefUse DU) {
return false;
ExtUsers.push_back(User);
}
- // We'll prove some facts that should be true in the context of ext users. IF
- // there is no users, we are done now. If there are some, pick their common
- // dominator as context.
if (ExtUsers.empty()) {
DeadInsts.emplace_back(NarrowUse);
return true;