Skip to content

Commit 5719779

Browse files
committed
Remove redundant code
1 parent 5d00250 commit 5719779

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/Utils/LoopUtils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,8 +943,6 @@ bool llvm::setLoopEstimatedTripCount(
943943
// here at all.
944944
if (!EstimatedloopInvocationWeight)
945945
return true;
946-
if (!LatchBranch)
947-
return false;
948946

949947
// Calculate taken and exit weights.
950948
unsigned LatchExitWeight = 0;

0 commit comments

Comments
 (0)