Skip to content

Commit 490e58a

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC
1 parent f9fecab commit 490e58a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ bool Scheduler::trySchedule(ArrayRef<Instruction *> Instrs) {
218218
return tryScheduleUntil(Instrs);
219219
}
220220
}
221+
llvm_unreachable("Unhandled BndlSchedState enum");
221222
}
222223

223224
#ifndef NDEBUG

0 commit comments

Comments
 (0)