Skip to content

Commit 3f828cb

Browse files
committed
[mlir][Tosa] Add unreachable case for bad Extension type in TosaProfileCompliance
1 parent 4277c21 commit 3f828cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class TosaProfileCompliance {
148148
case Extension::none:
149149
return {};
150150
};
151+
llvm_unreachable("bad Extension type");
151152
}
152153

153154
// Debug utilites.

0 commit comments

Comments
 (0)