[LLVMbugs] [Bug 21066] New: When assembling, report multiple potential instructions with missing features.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 25 03:01:20 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21066
Bug ID: 21066
Summary: When assembling, report multiple potential
instructions with missing features.
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM assembly language parser
Assignee: unassignedbugs at nondot.org
Reporter: oliver.stannard at arm.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When the LLVM assembler does not find a matching instruction, but does find
instructions which would match if more target features were available, it
attempts to report the missing features. However, if there are multiple such
instructions, it currently only reports the one with the fewest missing
features, which is often not the most useful one.
For example, assembling "adds r0, #0x100" for Thumb1 will result in an error
message claiming that the "arm-mode" feature is required, but there is also a
version of the instruction which is available for Thumb2. In this case, it
would be better to report both of these potential matches.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140925/9ff1b5be/attachment.html>
More information about the llvm-bugs
mailing list