[llvm-bugs] [Bug 38505] New: [IA] errors for some prefixes but not others

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 9 13:32:23 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38505

            Bug ID: 38505
           Summary: [IA] errors for some prefixes but not others
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: echristo at gmail.com, llvm-bugs at lists.llvm.org,
                    niravd at google.com, pirama at google.com,
                    srhines at google.com

Created attachment 20666
  --> https://bugs.llvm.org/attachment.cgi?id=20666&action=edit
memcpy_minimal.S

See the attached file for reproduction steps.

What's curious is that clang produces the warning:

 error: too many operands for instruction

for the first instance but not the second.  Also, the gas errors are a little
more helpful:

memcpy_minimal.S:11: Error: Thumb does not support this addressing mode -- `ldr
r3,[r1],#4'

-- 
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/20180809/9c158823/attachment.html>


More information about the llvm-bugs mailing list