[llvm-bugs] [Bug 48805] New: llvm_unreachable when assembling an LDR with UXTW modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 12:28:57 PST 2021


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

            Bug ID: 48805
           Summary: llvm_unreachable when assembling an LDR with UXTW
                    modifier
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: peter at pcc.me.uk
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

We hit an llvm_unreachable when assembling the following instruction:

ldr r0, [ r0, r2, uxtw #2 ]

This instruction is invalid because UXTW is not a valid modifier for LDR on
32-bit ARM, so we should reject it.

-- 
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/20210119/464d5a6a/attachment.html>


More information about the llvm-bugs mailing list