http://llvm.org/bugs/show_bug.cgi?id=14393
Bug #: 14393
Summary: codegen crash with inline asm
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Reported by rajesh viswabramana on llvmdev, I just converted the test to IL:
-------------------------------------------
target triple = "i386-unknown-linux-gnu"
define double @func1() {
entry:
%0 = tail call double asm "", "=r,0,~{dirflag},~{fpsr},~{flags}"(double
undef)
ret double %0
}
--------------------------------------------
$ ./bin/llc test.ll
llc:
/home/espindola/llvm/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:383:
void getCopyToParts(llvm::SelectionDAG &, llvm::DebugLoc, llvm::SDValue,
llvm::SDValue *, unsigned int, llvm::EVT, const llvm::Value *, ISD::NodeType):
Assertion `(PartVT.isInteger() || PartVT == MVT::x86mmx) && ValueVT.isInteger()
&& "Unknown mismatch!"' failed.
--
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