-
Notifications
You must be signed in to change notification settings - Fork 14.6k
[ARM] FIX: change pkhtb
custom parsing produce NoMatch rather than Error
#85765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
61ee60c
ad4b0ab
b9957c4
b33f00d
73eca78
c027162
dc503c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,10 +235,10 @@ | |
@ CHECK-ERRORS: error: immediate value out of range | ||
@ CHECK-ERRORS: pkhtb r2, r2, r3, asr #33 | ||
@ CHECK-ERRORS: ^ | ||
@ CHECK-ERRORS: error: lsl operand expected. | ||
@ CHECK-ERRORS: error: shift operator is malformed for this instruction | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can see you've added a new testcase in basic-arm-instructions.s for the specific failure mentioned in the bug report, but is this change because you've added the new error message? Presumably this is now reached instead, hence the change in this testcase? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, the old mechanism for the diagnostic was throwing an error when parsing failed. Actually, I still handle this better. Let me fix this with a better diagnostic really quickly. |
||
@ CHECK-ERRORS: pkhbt r2, r2, r3, asr #3 | ||
@ CHECK-ERRORS: ^ | ||
@ CHECK-ERRORS: error: asr operand expected. | ||
@ CHECK-ERRORS: error: shift operator is malformed for this instruction | ||
@ CHECK-ERRORS: pkhtb r2, r2, r3, lsl #3 | ||
@ CHECK-ERRORS: ^ | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.