http://llvm.org/bugs/show_bug.cgi?id=2623
Summary: Assertion failure calling function with struct-typed phi
value
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1878)
--> (http://llvm.org/bugs/attachment.cgi?id=1878)
Test case.
Compiling the attached bitcode produces the following error:
$ llc bugpoint-reduced-simplified.bc
Assertion failed: (0 && "Unknown type!"), function getMVT, file ValueTypes.cpp,
line 109.
The same error appears when it's compiled using the JIT. It appears to be
related to the phi node, since generating the same function call without a
value which was returned directly from a function (not accessed via a phi
instruction) compiles and generates the correct (ABI-compliant) code.
--
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