This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] ldr= pseudo-instruction silently ignored if register invalid
ClosedPublic

Authored by olista01 on Nov 13 2015, 5:07 AM.

Details

Summary

The AArch64 assembler was silently ignoring instructions like this:

ldr foo, =bar

AArch64AsmParser::parseOperand was returning true as the parse failed, but was not calling AArch64AsmParser::Error to report this to the user, so the instruction was ignored without printing an error message.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 updated this revision to Diff 40141.Nov 13 2015, 5:07 AM
olista01 retitled this revision from to [AArch64] ldr= pseudo-instruction silently ignored if register invalid.
olista01 updated this object.
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: llvm-commits.
t.p.northover accepted this revision.Nov 13 2015, 10:43 AM
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a subscriber: t.p.northover.

Hi Oliver,

This looks good to me!

Tim.

This revision is now accepted and ready to land.Nov 13 2015, 10:43 AM
This revision was automatically updated to reflect the committed changes.