[LLVMbugs] [Bug 11004] New: Crash in llc for ARM (infinite recursion in LegalizeOp)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 24 12:17:08 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=11004
Summary: Crash in llc for ARM (infinite recursion in
LegalizeOp)
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: llc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pdox at google.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7347)
--> (http://llvm.org/bugs/attachment.cgi?id=7347)
Minimal example
The attached bitcode causes a crash in ARM llc.
LegalizeOp enters infinite recursion. The problem might be a nested CALLSEQ in
the DAG.
Compile with:
$ llc -march=arm -mcpu=cortex-a8 -mtriple=armv7-none-linux-gnueabi minimal.ll
-o minimal.s
--------
target triple = "armv7-none-linux-gnueabi"
%st = type { i8, i8 }
define void @foo() noreturn nounwind {
%1 = alloca %st, align 1
%2 = call i32 @bar(i32 undef, i32 undef, i32 undef, i32 undef, %st* byval %1)
nounwind
unreachable
}
declare i32 @bar(i32, i32, i32, i32, %st* byval) nounwind
--
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