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).
Details
Details
- Reviewers
davide JDevlieghere - Group Reviewers
Restricted Project - Commits
- rGe2849a031c02: Fix UNPREDICTABLE check in EmulateInstructionARM::EmulateADDRegShift
rLLDB359387: Fix UNPREDICTABLE check in EmulateInstructionARM::EmulateADDRegShift
rL359387: Fix UNPREDICTABLE check in EmulateInstructionARM::EmulateADDRegShift
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I don't think I can provide a test for this because I don't really know the code so well (and generating an UNPREDICTABLE seems tricky too). I'll leave this up for a bit to see if someone comes up with a test (or I'll have time to dig into the code) and then commit.