[LLVMbugs] [Bug 10575] New: i386 codegen: LLVM ERROR: Access past stack top!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 3 02:05:05 PDT 2011


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

           Summary: i386 codegen: LLVM ERROR: Access past stack top!
           Product: new-bugs
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7010)
 --> (http://llvm.org/bugs/attachment.cgi?id=7010)
testcase .ll

$ llc -O0 -mcpu=i386 m_rankMerge.ll
LLVM ERROR: Access past stack top!

Testcase (also attached):


target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-f128:128:128-n8:16:32"
target triple = "i386-pc-linux-gnu"

define void @__m_rankmerge_MOD_dindexmerge_() nounwind {
entry:
  br label %"20"

"20":                                             ; preds = %"23", %entry
  %0 = phi double [ undef, %entry ], [ %0, %"23" ]
  %1 = phi double [ 0.000000e+00, %entry ], [ %2, %"23" ]
  br i1 undef, label %"21", label %"23"

"21":                                             ; preds = %"20"
  ret void

"23":                                             ; preds = %"20"
  %2 = select i1 undef, double %0, double %1
  br label %"20"
}

-- 
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