https://bugs.llvm.org/show_bug.cgi?id=35820
Bug ID: 35820
Summary: LLVM 6 fails to compile pocl's shuffle test
Product: new-bugs
Version: 6.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ra...@runbox.com
CC: llvm-bugs@lists.llvm.org
Created attachment 19626
--> https://bugs.llvm.org/attachment.cgi?id=19626&action=edit
simplified test case
I've attached a simplified test case. When trying to compile it with "llc -O2",
LLVM 5's llc is successful but LLVM 6 fails with:
llc: /home/0/LLVM_git/60/lib/Target/X86/X86ISelLowering.cpp:5775: bool
getTargetShuffleMask(llvm::SDNode*, llvm::MVT, bool,
llvm::SmallVectorImpl<llvm::SDValue>&, llvm::SmallVectorImpl<int>&, bool&):
Assertion `N->getOperand(1).getValueType() == VT && "Unexpected value type"'
failed.
Clang+LLVM compiled today (4th Jan 2018) from freshly updated git:
clang version 6.0.0 (http://llvm.org/git/clang.git
db28ee2ff44111ade7c6e1078ef80910978b6b94)
machine: AMD 1700X, gcc 7.2.1
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs