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

           Summary: -regalloc=simple creates invalid code crashing fp
                    stackifier
           Product: libraries
           Version: 1.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: compile-fail
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


These work:
$ cat bug.ll
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"
target triple = "i386-pc-linux-gnu"

define float @f() nounwind {
entry:
  ret float 0.000000e+00
}
$ llc bug.ll -o - -regalloc=local
$ llc bug.ll -o - 

This crashes:
$ llc bug.ll -o - -regalloc=simple

I suspect a kill/dead marker problem, but haven't looked into it.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to