Silence unhandled case warns (#823)

This commit is contained in:
illusion0001 2024-09-12 15:01:13 -05:00 committed by GitHub
parent a49c7e9dcb
commit b911c70d35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View file

@ -3718,6 +3718,8 @@ InstFormat InstructionFormat(InstEncoding encoding, uint32_t opcode) {
return InstructionFormatSOP2[opcode];
case InstEncoding::VOP2:
return InstructionFormatVOP2[opcode];
default:
return {};
}
UNREACHABLE();
return {};