[LLVMbugs] [Bug 8824] New: Spurious MachineVerifier failures on CodeGen/X86/2007-05-07-InvokeSRet.ll

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 19 19:44:51 PST 2010


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

           Summary: Spurious MachineVerifier failures on
                    CodeGen/X86/2007-05-07-InvokeSRet.ll
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: zwarich at apple.com
                CC: llvmbugs at cs.uiuc.edu


# Machine code for function invoker:
Frame Objects:
  fi#-1: size=4, align=8, fixed, at location [SP+4]

0L    BB#0: derived from LLVM BB %entry
4L        EH_LABEL <MCSym=.Ltmp0>
12L        ADJCALLSTACKDOWN32 4, %ESP<imp-def>, %EFLAGS<imp-def,dead>,
%ESP<imp-use>
20L        %reg16384<def> = MOV32rm <fi#-1>, 1, %reg0, 0, %reg0;
mem:LD4[FixedStack-1](align=8) GR32:%reg16384
28L        %reg16385<def> = COPY %ESP; GR32:%reg16385
36L        MOV32mr %reg16385<kill>, 1, %reg0, 0, %reg0, %reg16384<kill>;
mem:ST4[Stack] GR32:%reg16385,16384
44L        CALLpcrel32 <ga:@invokee>, %ESP<imp-use>, ...
52L        ADJCALLSTACKUP32 4, 4, %ESP<imp-def>, %EFLAGS<imp-def,dead>,
%ESP<imp-use>
60L        EH_LABEL <MCSym=.Ltmp1>
68L        JMP_4 <BB#1>
        Successors according to CFG: BB#1 BB#1

80L    BB#1: derived from LLVM BB %return, EH LANDING PAD
        Live Ins: %EAX %EDX
        Predecessors according to CFG: BB#0 BB#0
84L        EH_LABEL <MCSym=.Ltmp2>
92L        RET

# End machine code for function invoker.

*** Bad machine code: MBB has more than one landing pad successor ***
- function:    invoker
- basic block: entry 0x102846198 (BB#0) [0L;80L)

*** Bad machine code: MBB exits via unconditional branch but doesn't have
exactly one CFG successor! ***
- function:    invoker
- basic block: entry 0x102846198 (BB#0) [0L;80L)
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