mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
[OPMIRBuilder] Fix typo in condition
Fix a condition I accidentally inverted in
296671f059
.
This commit is contained in:
parent
3d7df0a547
commit
18be23f82a
@ -3523,7 +3523,7 @@ static int32_t computeHeuristicUnrollFactor(CanonicalLoopInfo *CLI) {
|
||||
UnrollCostEstimator UCE(L, TTI, EphValues, UP.BEInsns);
|
||||
|
||||
// Loop is not unrollable if the loop contains certain instructions.
|
||||
if (UCE.canUnroll() || UCE.Convergent) {
|
||||
if (!UCE.canUnroll() || UCE.Convergent) {
|
||||
LLVM_DEBUG(dbgs() << "Loop not considered unrollable\n");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user