Fix UNPREDICTABLE check in EmulateInstructionARM::EmulateADDRegShift
authorRaphael Isemann <teemperor@gmail.com>
Sat, 27 Apr 2019 18:15:35 +0000 (18:15 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Sat, 27 Apr 2019 18:15:35 +0000 (18:15 +0000)
commite2849a031c025ab9c7a84748f0471296d22eaaa9
tree0c7f977147b53b57136ae70dd7805009f562c5fe
parent2a2d4224002d8c730ce4723b82a15cc491ee76e8
Fix UNPREDICTABLE check in EmulateInstructionARM::EmulateADDRegShift

Summary:
As reported in LLVM bug 41487, the check in this function is wrong and should be
the same as the described check in the comment (which is correctly copied from the
ARM ISA reference).

Reviewers: #lldb, davide, JDevlieghere

Reviewed By: #lldb, davide, JDevlieghere

Subscribers: davide, javed.absar, kristof.beyls, lldb-commits

Tags: #lldb

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

llvm-svn: 359387
lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp