Project

General

Profile

Bug #1363

[clang-3.8][x86_64] Do not know how to soften this operator's operand!

Added by Dmitry Moskalchuk over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Category:
toolchain
Target version:
Start date:
04/15/2016
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
x86_64
Host OS:
Toolchain:
clang-3.8
Android version:
CrystaX Version:

Description

SoftenFloatOperand Op #1: t18: f128 = select t29, t16, ConstantFP:f128

Do not know how to soften this operator's operand!
UNREACHABLE executed at /home/crystax/work/ndk/ndk/toolchain/llvm-3.8/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:735!
0 clang 0x0000000002a35b45 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 clang 0x0000000002a33a36 llvm::sys::RunSignalHandlers() + 54
2 clang 0x0000000002a33bad
3 libpthread.so.0 0x00007f0e74aff340
4 libc.so.6 0x00007f0e73e2bcc9 gsignal + 57
5 libc.so.6 0x00007f0e73e2f0d8 abort + 328
6 clang 0x0000000002a1a83c
7 clang 0x0000000002074088
8 clang 0x0000000002021c71
9 clang 0x000000000202215b llvm::SelectionDAG::LegalizeTypes() + 555
10 clang 0x0000000001ff460a llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 506
11 clang 0x0000000001ff848e llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1198
12 clang 0x0000000001ff9f66 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1510
13 clang 0x0000000001d093b4
14 clang 0x00000000028c3b6b llvm::FPPassManager::runOnFunction(llvm::Function&) + 491
15 clang 0x00000000028c3efb llvm::FPPassManager::runOnModule(llvm::Module&) + 43
16 clang 0x00000000028c41ff llvm::legacy::PassManagerImpl::run(llvm::Module&) + 735
17 clang 0x0000000000bdd63c clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) + 3564
18 clang 0x0000000000bbbe63
19 clang 0x0000000000de7afb clang::ParseAST(clang::Sema&, bool, bool) + 571
20 clang 0x0000000000bbbf3b clang::CodeGenAction::ExecuteAction() + 59
21 clang 0x00000000009df396 clang::FrontendAction::Execute() + 502
22 clang 0x00000000009b965e clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 318
23 clang 0x000000000099e4f2 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2050
24 clang 0x0000000000996b10 cc1_main(llvm::ArrayRef, char const*, void*) + 1984
25 clang 0x0000000000964b6b main + 6155
26 libc.so.6 0x00007f0e73e16ec5 __libc_start_main + 245
27 clang 0x00000000009951e9
Stack dump:

  1. Program arguments: /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin/clang -cc1 -triple x86_64-none-linux-android -emit-obj -disable-free -main-file-name test.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +sse4.2 -target-feature +popcnt -backend-option -x86-force-gv-stack-cookie -target-linker-version 2.24 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /dev/null -resource-dir /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin/../lib/clang/3.8 -I /home/crystax/work/ndk/ndk/platform/ndk/sources/cxx-stl/llvm-libc++/3.8/libcxx/include -isysroot /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-21/arch-x86_64 -internal-isystem /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/local/include -internal-isystem /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin/../lib/clang/3.8/include -internal-externc-isystem /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-21/arch-x86_64/include -internal-externc-isystem /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/include -O3 -fdeprecated-macro -fdebug-compilation-dir /home/crystax/tmp/clang-crash -ferror-limit 19 -fmessage-length 191 -femulated-tls -mstackrealign -fblocks -fobjc-runtime=gnustep-1.8 -fobjc-dispatch-method=mixed -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -fno-cxx-missing-return-semantics -o /dev/null -x c++ test.cpp
  2. parser at end of file
  3. Code generation
  4. Running pass 'Function Pass Manager' on module 'test.cpp'.
  5. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_Z3foog' clang: error: unable to execute command: Aborted (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.8 Target: x86_64-none-linux-android Thread model: posix InstalledDir: /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin clang: note: diagnostic msg: PLEASE submit a bug report to https://tracker.crystax.net/projects/ndk and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/test-9a7b13.cpp
clang: note: diagnostic msg: /tmp/test-9a7b13.sh
clang: note: diagnostic msg:


clang-crash.zip (1019 Bytes) Dmitry Moskalchuk, 04/22/2016 11:07 PM


Related issues

Blocks CrystaX NDK - Task #1318: Add just released clang-3.8Closed2016-03-08

History

#1 Updated by Dmitry Moskalchuk over 3 years ago

  • File clang-crash.zip added

#2 Updated by Dmitry Moskalchuk over 3 years ago

  • Blocks Task #1318: Add just released clang-3.8 added

#3 Updated by Dmitry Moskalchuk over 3 years ago

  • Status changed from Open to In Progress

#4 Updated by Dmitry Moskalchuk over 3 years ago

  • File deleted (clang-crash.zip)

#6 Updated by Dmitry Moskalchuk about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF