[LLVMbugs] [Bug 14098] New: -verify-machineinstrs fails on this test

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 16 09:27:27 PDT 2012


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

             Bug #: 14098
           Summary: -verify-machineinstrs fails on this test
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9358
  --> http://llvm.org/bugs/attachment.cgi?id=9358
testcase

This is a reduction of a bootstrap failure with llvm+clang+compiler-rt on linux
32 bits:

$ llc test.ll -relocation-model=pic-verify-machineinstrs
....

*** Bad machine code: Instruction loads from dead spill slot ***
- function:    _ZN4llvm9MCContext28CreateDirectionalLocalSymbolEx
- basic block: BB#2 if.then.i.i12 (0x2dc9978) [464B;592B)
- instruction: 504B     %vreg92<def> = MOV32rm <fi#6>, 1, %noreg, 0, %noreg;
mem:LD4[FixedStack6] GR32_ABCD:%vreg92
- operand 1:   <fi#6>
Live stack:
[536r,592B:0)[672r,816B:0)[1208r,1616B:0)[1680B,1792B:0)[1856B,1920B:0)[2016B,2080B:0)[2176B,2240B:0)[2320B,2824r:0)
 0 at x

*** Bad machine code: Instruction loads from dead spill slot ***
- function:    _ZN4llvm9MCContext28CreateDirectionalLocalSymbolEx
- basic block: BB#7 if.end20.i.i90 (0x2dc9c18) [1088B;1248B)
- instruction: 1192B    %vreg91<def> = MOV32rm <fi#6>, 1, %noreg, 0, %noreg;
mem:LD4[FixedStack6] GR32_ABCD:%vreg91
- operand 1:   <fi#6>
Live stack:
[536r,592B:0)[672r,816B:0)[1208r,1616B:0)[1680B,1792B:0)[1856B,1920B:0)[2016B,2080B:0)[2176B,2240B:0)[2320B,2824r:0)
 0 at x
LLVM ERROR: Found 2 machine code errors.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list