Skip to content

Commit f5de33d

Browse files
- Fix 'default label in switch' build failure
1 parent e2d91e5 commit f5de33d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/ArmSME/IR/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ unsigned getSizeInBytes(TypeSize type) {
2424
return 4;
2525
case arm_sme::TypeSize::Double:
2626
return 8;
27-
default:
28-
llvm_unreachable("unknown type size");
2927
}
28+
llvm_unreachable("unknown type size");
29+
return 0;
3030
}
3131

3232
unsigned getSMETileSliceMinNumElts(Type type) {

0 commit comments

Comments
 (0)