HomePhabricator

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

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

Details

Committed
tkrasnukhaSep 6 2018, 12:58 PM
Reviewer
petecoup
Differential Revision
D51728: [ARC] Prevent InstPrinter from crashing on unknown condition codes.
Parents
rL341580: Quick fix for -DBUILD_SHARED_LIBS=on build after rL341502
Branches
Unknown
Tags
Unknown