================ @@ -137,6 +137,8 @@ static ArrayRef<TileMask> getMasks(ArmSMETileType type) { case ArmSMETileType::ZAQ: return ZA_Q_MASKS; } + assert("unknown type in getMasks" == nullptr); + return {}; ---------------- fschlimb wrote: sure, will do. https://github.com/llvm/llvm-project/pull/105520