Skip to content

Commit c3cb273

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent fdf72c9 commit c3cb273

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,7 @@ template <> struct DOTGraphTraits<SplitGraph> : public DefaultDOTGraphTraits {
12191219
case SplitGraph::EdgeKind::IndirectCall:
12201220
return "style=\"dashed\"";
12211221
}
1222+
llvm_unreachable("Unknown SplitGraph::EdgeKind enum");
12221223
}
12231224
};
12241225

0 commit comments

Comments
 (0)