[LLVMbugs] [Bug 20778] New: AArch64: "Do not know how to scalarize this operator's operand!"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 27 13:38:52 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20778
Bug ID: 20778
Summary: AArch64: "Do not know how to scalarize this operator's
operand!"
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: grosbach at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The following fails to compile for aarch64.
define void @autogen_SD27033() {
BB:
%FC17 = sitofp <1 x i1> undef to <1 x double>
br label %CF80
CF80: ; preds = %CF80, %BB
br i1 undef, label %CF80, label %CF79
CF79: ; preds = %CF79, %CF80
%Sl69 = select i1 undef, <1 x double> %FC17, <1 x double> undef
%Cmp70 = icmp ne i8 undef, undef
br i1 %Cmp70, label %CF79, label %CF82
CF82: ; preds = %CF79
ret void
}
Found via llvm-stress.
$ llc -o - -mtriple=arm64-apple-darwin test.ll
ScalarizeVectorOperand Op #0: 0x7ffae9047250: v1f64 = sint_to_fp 0x7ffae9046460
[ORD=31] [ID=0]
Do not know how to scalarize this operator's operand!
UNREACHABLE executed at
/Users/grosbaj/sources/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:403!
0 llc 0x0000000106cac7be
llvm::sys::PrintStackTrace(__sFILE*) + 46
1 llc 0x0000000106cacacb
PrintStackTraceSignalHandler(void*) + 27
2 llc 0x0000000106cace8c SignalHandler(int) + 460
3 libsystem_platform.dylib 0x00007fff882fef1a _sigtramp + 26
4 llc 0x0000000107656a9e guard variable for
llvm::BitcodeErrorCategory()::O + 69646
5 llc 0x0000000106cacafb raise + 27
6 llc 0x0000000106cacbb2 abort + 18
7 llc 0x0000000106c2a696
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 198
8 llc 0x0000000106a53bf3
llvm::DAGTypeLegalizer::ScalarizeVectorOperand(llvm::SDNode*, unsigned int) +
611
9 llc 0x0000000106a303d6 llvm::DAGTypeLegalizer::run() +
1590
10 llc 0x0000000106a360d2
llvm::SelectionDAG::LegalizeTypes() + 66
...
--
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/20140827/b464fb4f/attachment.html>
More information about the llvm-bugs
mailing list