[LLVMbugs] [Bug 23229] New: Assertion failed: ((PartVT.isInteger() || PartVT == MVT::x86mmx) && ValueVT.isInteger() && "Unknown mismatch!"), function getCopyToParts
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 14 12:55:26 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23229
Bug ID: 23229
Summary: Assertion failed: ((PartVT.isInteger() || PartVT ==
MVT::x86mmx) && ValueVT.isInteger() && "Unknown
mismatch!"), function getCopyToParts
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dimitry at andric.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
As reported in https://bugs.freebsd.org/199450, clang crashes with the
following assertion failure in SpiderMonkey's FoldConstants.cpp file, when
compiled for the armv6--freebsd11.0-gnueabihf target:
Assertion failed: ((PartVT.isInteger() || PartVT == MVT::x86mmx) &&
ValueVT.isInteger() && "Unknown mismatch!"), function getCopyToParts, file
/share/dim/src/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp,
line 399.
This also reproduces with clang trunk r234702.
Reduced test case is:
======================================================================
a, b, c, d;
double e;
fn1() { asm("" : "=r"(a), "=&r"(b), "=&r"(c), "=&r"(d), "=&r"(e) : "4"(e)); }
======================================================================
Compile with:
clang -cc1 -triple armv6 -emit-obj -target-cpu arm1176jzf-s testcase.c
Note: the target-cpu setting is essential to trigger this assert.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150414/247449b1/attachment.html>
More information about the llvm-bugs
mailing list