[LLVMbugs] [Bug 14627] New: Simple inline PPC asm hits assert: `(PartVT.isInteger() || PartVT == MVT::x86mmx) && ValueVT.isInteger() && "Unknown mismatch!"'
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 17 14:46:33 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14627
Bug #: 14627
Summary: Simple inline PPC asm hits assert:
`(PartVT.isInteger() || PartVT == MVT::x86mmx) &&
ValueVT.isInteger() && "Unknown mismatch!"'
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: hfinkel at anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9714
--> http://llvm.org/bugs/attachment.cgi?id=9714
bugpoint reduced test case
When compiling the following inline assembly on PPC64:
%0 = tail call double* asm sideeffect "qvstfdux $2,$0,$1",
"=b,{r7},{f11},0,~{memory}"(i32 64, double undef, double* undef) nounwind
The Selection-DAG builder asserts:
SelectionDAGBuilder.cpp:383: void getCopyToParts(llvm::SelectionDAG&,
llvm::DebugLoc, llvm::SDValue, llvm::SDValue*, unsigned int, llvm::EVT, const
llvm::Value*, llvm::ISD::NodeType): Assertion `(PartVT.isInteger() || PartVT ==
MVT::x86mmx) && ValueVT.isInteger() && "Unknown mismatch!"' failed.
Full test case attached.
--
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