Skip to content

Commit 54b8713

Browse files
committed
add unreachable
1 parent 717ec31 commit 54b8713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ static char getRegisterType(Type type) {
4949
return 'l';
5050
}
5151
// register type for struct is not supported.
52+
llvm_unreachable("The register type could not deduced from MLIR type");
5253
return '?';
5354
}
5455

0 commit comments

Comments
 (0)