diff options
author | Ben Shi <powerman1st@163.com> | 2021-11-25 12:00:52 +0000 |
---|---|---|
committer | Ben Shi <powerman1st@163.com> | 2021-11-30 08:31:20 +0000 |
commit | 29d4230d6b528ebf14dcd5dc610ee0d937a23d51 (patch) | |
tree | 579990cb6cb032b2956afad207a240b46171e8fc /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 7ba70d32736aef0c640b9d0e7b9081fc208c81c2 (diff) | |
download | llvm-29d4230d6b528ebf14dcd5dc610ee0d937a23d51.zip llvm-29d4230d6b528ebf14dcd5dc610ee0d937a23d51.tar.gz llvm-29d4230d6b528ebf14dcd5dc610ee0d937a23d51.tar.bz2 |
[RISCV] Decode vtype with reserved fields to raw immediate
This patch fixes a crash when doing "llvm-objdump -D --mattr=+experimental-v"
against an object file which happens to keep a word that can be decoded to
VSETVLI & VSETIVLI with reserved vlmul[2:0]=4. All vtype values with
reserved fields (vlmul[2:0]=4, vsew[2:0]=0b1xx, non-zero bits 8/9/10) are
printed to raw immediate.
Reviewed By: jhenderson, jrtc27, craig.topper
Differential Revision: https://reviews.llvm.org/D114581
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions