[llvm-bugs] [Bug 33600] New: aarch64 bug when handling shufflevector
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 26 13:02:49 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33600
Bug ID: 33600
Summary: aarch64 bug when handling shufflevector
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: danielcdh at gmail.com
CC: llvm-bugs at lists.llvm.org
#cat test.ll
target triple = "aarch64-unknown-linux-gnu"
define <4 x i1> @foo(<12 x i64 *>* %p) {
%l = load <12 x i64 *>, <12 x i64 *>* %p
%s1 = shufflevector <12 x i64 *> %l, <12 x i64 *> undef, <4 x i32> <i32 0,
i32 3, i32 6, i32 9>
%s2 = shufflevector <12 x i64 *> %l, <12 x i64 *> undef, <4 x i32> <i32 1,
i32 4, i32 7, i32 10>
%ret = icmp ne <4 x i64 *> %s1, %s2
ret <4 x i1> %ret
}
#llc test.ll
llc: /ssd/llvm1/lib/IR/Instructions.cpp:2579: static llvm::CastInst*
llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*,
const llvm::Twine&, llvm::Instruction*): Assertion `castIsValid(op, S, Ty) &&
"Invalid cast!"' 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/20170626/fffa1166/attachment.html>
More information about the llvm-bugs
mailing list