[LLVMbugs] [Bug 19502] New: ARM64: Misleading diagnostic on bad extend amount of reg+reg addressing mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 21 14:43:38 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19502

            Bug ID: 19502
           Summary: ARM64: Misleading diagnostic on bad extend amount of
                    reg+reg addressing mode
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: grosbach at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

error: index must be a multiple of 4 in range [0,16380].
  ldr    w1, [x3, w3, sxtw #3]

The problem is actually that the #3 isn't valid for the 32-bit destination and
#0 or #2 are required instead.

error: index must be a multiple of 8 in range [0,32760].
  ldr    x1, [x3, w3, sxtw #2]

The constant must actually be #0 or #3 and the diagnostic should say that.

-- 
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/20140421/3f5ad202/attachment.html>


More information about the llvm-bugs mailing list