Skip to content

Commit

Permalink
fixup! [loop count assumptions] convert loop iteration metadata to as…
Browse files Browse the repository at this point in the history
…sumptions
  • Loading branch information
F-Stuckmann committed Nov 25, 2024
1 parent 0afdaf6 commit bc48bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Utils/LoopIterCountAssumptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ std::optional<int64_t> getMinIterCount(Loop &CurrentLoop) {
if (!CurrentLoop.isRotatedForm())
return RawMinIterationCount;

const int BackedgeCount = MinIterCount - 1;
const int64_t BackedgeCount = MinIterCount - 1;
if (BackedgeCount <= 0) {
LLVM_DEBUG(
dbgs()
Expand Down

0 comments on commit bc48bdb

Please sign in to comment.