diff options
author | Ana Pazos <apazos@codeaurora.org> | 2018-09-07 18:43:43 +0000 |
---|---|---|
committer | Ana Pazos <apazos@codeaurora.org> | 2018-09-07 18:43:43 +0000 |
commit | b2ed11a086e8203f862a71ac4afe484ad1528ad8 (patch) | |
tree | cad01711d8328bcd9ec9785cbc234128ef7e3cf6 /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | 4911d36aa64e834e074ad0900885a126564d188c (diff) | |
download | bcm5719-llvm-b2ed11a086e8203f862a71ac4afe484ad1528ad8.tar.gz bcm5719-llvm-b2ed11a086e8203f862a71ac4afe484ad1528ad8.zip |
[RISCV] Fix crash in decoding instruction with unknown floating point rounding mode
Summary:
Instead of crashing in printFRMArg, decode and warn about invalid instruction.
This bug was uncovered by a LLVM MC Disassembler Protocol Buffer Fuzzer
for the RISC-V assembly language.
Reviewers: asb
Reviewed By: asb
Subscribers: rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, mgrang, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, asb
Differential Revision: https://reviews.llvm.org/D51705
llvm-svn: 341691
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
0 files changed, 0 insertions, 0 deletions