[LLVMbugs] [Bug 19420] New: [ARM64] Assertion failure about 2 operand types in binary constant expression should match
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 13 20:17:05 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19420
Bug ID: 19420
Summary: [ARM64] Assertion failure about 2 operand types in
binary constant expression should match
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: Hao.Liu at arm.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Test case test.c:
------------------------------------------------------------------------
#include "arm_neon.h"
int16x8_t dotest_constant_type() {
int16x8_t val;
val = vcombine_s16(vcreate_s16(UINT64_C(0xffff0000ffff0000)),
vcreate_s16(UINT64_C(0xffff0000ffff0000)));
return vshlq_n_s16(vmulq_n_s16(val,
vqabsh_s16(-1)),
5);
}
------------------------------------------------------------------------
The Error information is as following:
$clang -O3 --target=arm64-linux-gnu -c test.c
clang-3.5: llvm/llvm/lib/IR/Constants.cpp:1711: static llvm::Constant*
llvm::ConstantExpr::get(unsigned int, llvm::Constant*, llvm::Constant*,
unsigned int): Assertion `C1->getType() == C2->getType() && "Operand types in
binary constant expression should match"' failed.
--
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/20140414/becae268/attachment.html>
More information about the llvm-bugs
mailing list