Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
95dd7a2
commit b5f4297
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ | |
# CHECK: b -68 | ||
0xbd 0x07 0xcf 0xff | ||
|
||
# CHECK: b{unknown-cc} 4096 | ||
0x00 0x00 0x9e 0x00 |