Skip to content

Commit 00c1c58

Browse files
committed
DependencyGraph.cpp - mix MSVC "not all control paths return a value" warning. NFC.
1 parent 1b3fc75 commit 00c1c58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ bool DependencyGraph::hasDep(Instruction *SrcI, Instruction *DstI) {
136136
case DependencyType::None:
137137
return false;
138138
}
139+
llvm_unreachable("Unknown DependencyType enum");
139140
}
140141

141142
void DependencyGraph::scanAndAddDeps(DGNode &DstN,

0 commit comments

Comments
 (0)