HomePhabricator

[ARC] Prevent InstPrinter from crashing on unknown condition codes.

Authored by tatyana-krasnukha on Sep 6 2018, 12:58 PM.

Description

[ARC] Prevent InstPrinter from crashing on unknown condition codes.

Summary:
Instruction printer shouldn't crash with assertions due to incorrect input data. llvm_unreachable is not intended for runtime error handling.

Reviewers: petecoup

Reviewed By: petecoup

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

llvm-svn: 341581