[llvm-bugs] [Bug 29201] New: Regression on ARM

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 28 20:35:28 PDT 2016


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

            Bug ID: 29201
           Summary: Regression on ARM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: llvmbugzilla at limegreensocks.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17070
  --> https://llvm.org/bugs/attachment.cgi?id=17070&action=edit
Ugly but small C sample for "out of range" regression

This checkin:

  Revision: 6e45500a57ff3b4a49ef72dbdd85c0d4003375df
  Author: Prakhar Bahuguna <prakhar.bahuguna at arm.com>
  Date: 8/16/2016 3:41:52 AM
  Message:
  [Thumb] Validate branch target for CBZ/CBNZ instructions.

has apparently caused a regression.  After applying (just) this change, this
compile command:

  /llvm.trunkb/bin/clang.exe -target armv7-windows-gnu -c -o dmisc2.o dmisc2.c

gives this message:

  fatal error: error in backend: out of range pc-relative fixup value

Attached is an (ugly but small) example that is giving me the error.  If I
compile this C code to assembly (-S) then compile the assembly, I see:

dmisc2.s:40:2: error: out of range pc-relative fixup value
        cbz     r0, .LBB0_7

-- 
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/20160829/317264e8/attachment.html>


More information about the llvm-bugs mailing list