Skip to content

Commit 1736f1f

Browse files
committed
Added llvm_unreachable
1 parent b5bc6d1 commit 1736f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/LoopInterchange.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ bool LoopInterchangeProfitability::isProfitable(
13251325
isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
13261326
break;
13271327
case RuleTy::Ignore:
1328-
// Nothing to do, this has no effect.
1328+
llvm_unreachable("Option 'ignore' is not supported with other options");
13291329
break;
13301330
}
13311331

0 commit comments

Comments
 (0)