Skip to content

Commit c08a437

Browse files
[GlobalISel] Fix a warning
This patch fixes: llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h:1097:7: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
1 parent 832297c commit c08a437

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,7 @@ class LegalizationArtifactCombiner {
10941094
if (!OpTy.isVector() || !LI.isLegal({TargetOpcode::G_UNMERGE_VALUES,
10951095
{DestTy, SrcUnmergeSrcTy}}))
10961096
return false;
1097+
break;
10971098
case LegalizeActions::Lower:
10981099
case LegalizeActions::Unsupported:
10991100
break;

0 commit comments

Comments
 (0)