HomePhabricator

[llvm-exegesis] Do not silently fail on unknown instruction encoding formats.

Authored by courbet on Oct 28 2020, 1:26 AM.

Description

[llvm-exegesis] Do not silently fail on unknown instruction encoding formats.

The addition of TILELOADD instructions with a new encoding format
triggered a hard abort instead of proper error reporting due to the use
of llvm_unreachable for actually reachable code.
Properly report an error when the encoding format is unknown.

Differential Revision: https://reviews.llvm.org/D90289