This is an archive of the discontinued LLVM Phabricator instance.

[ARM, Asm] Add diagnostics for floating-point register operands
ClosedPublic

Authored by olista01 on Aug 14 2017, 9:28 AM.

Details

Summary

This adds diagnostic strings for the ARM floating-point register
classes, which will be used when these classes are expected by the
assembler, but the provided operand is not valid.

One of these, DPR, requires C++ code to select the correct error
message, as that class contains different registers depending on the
FPU. The rest can all have their diagnostic strings stored in the
tablegen decription of them.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Aug 14 2017, 9:28 AM
olista01 retitled this revision from [ARM, Asm] Add diagnostics for floating-point register operands register operands to [ARM, Asm] Add diagnostics for floating-point register operands.Aug 14 2017, 9:35 AM
rengolin accepted this revision.Aug 14 2017, 11:49 AM
This revision is now accepted and ready to land.Aug 14 2017, 11:49 AM
This revision was automatically updated to reflect the committed changes.