[llvm-bugs] [Bug 39440] New: Bad machine code: Instruction ending live segment doesn't read the register

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 25 15:40:45 PDT 2018


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

            Bug ID: 39440
           Summary: Bad machine code: Instruction ending live segment
                    doesn't read the register
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: francisvm at yahoo.com
                CC: llvm-bugs at lists.llvm.org

*** Bad machine code: Instruction ending live segment doesn't read the register
***
- function:    fn
- basic block: %bb.5 if.then13 (0x7fcd6d80ada0) [720B;1056B)
- instruction: 992B     %3:gr8 = COPY %9:gr8
- liverange:  
[96r,128B:1)[128B,992r:0)[992r,1056B:3)[1056B,1136B:0)[1136B,1264B:6)[1328B,1776B:6)[1776B,1904r:8)[1920r,1968B:2)[1968B,2192r:5)[2400r,2448B:4)[3024r,3088B:7)
 0 at 128B-phi 1 at 96r 2 at 1920r 3 at 992r 4 at 2400r 5 at 1968B-phi 6 at 1136B-phi 7 at 3024r
8 at 1776B-phi
- v. register: %3
- segment:     [128B,992r:0)
LLVM ERROR: Found 1 machine code errors.

Seems to come after Simple Register Coalescing.

build/bin/llc -verify-machineinstrs test/CodeGen/X86/pr38795.ll -O2
-mtriple=i386-unknown-linux-gnu -o -

-- 
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/20181025/5ecd8969/attachment.html>


More information about the llvm-bugs mailing list