[LLVMbugs] [Bug 23244] New: [QoI] Improve failure when trying to bind float types to integer registers for IAS in hardfp mode
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 15 15:20:39 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23244
Bug ID: 23244
Summary: [QoI] Improve failure when trying to bind float types
to integer registers for IAS in hardfp mode
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: joerg at NetBSD.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Test case from Firefox:
int a, b, c, d, g, h, i;
double e;
struct A {
static int m_fn1(int) {
asm("" : "=r"(a), "=&r"(b), "=&r"(c), "=&r"(d), "=&r"(e) : "4"(e));
}
};
struct Shuffle {
static int m_fn2(int) { A::m_fn1(0); }
} *f;
template <typename, typename, typename>
void FuncShuffle(int *, unsigned, int *) {
f[Shuffle::m_fn2(0)];
}
void simd_int32x4_shuffleMix() { FuncShuffle<A, Shuffle, A>(&g, h, &i); }
This currently fails with an assertion (SelectionDAGBuilder.cpp:398, void
getCopyToParts(llvm::SelectionDAG&, llvm::SDLoc, llvm::SDValue, llvm::SDValue*,
unsigned int, llvm::MVT, const llvm::Value*, llvm::ISD::NodeType): Assertion
`(PartVT.isInteger() || PartVT == MVT::x86mmx) && ValueVT.isInteger() &&
"Unknown mismatch!"' failed). It should be properly detected.
--
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/20150415/ef8b7615/attachment.html>
More information about the llvm-bugs
mailing list