[LLVMbugs] [Bug 21928] New: PowerPC code generation problem.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 16 05:03:59 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21928
Bug ID: 21928
Summary: PowerPC code generation problem.
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13549
--> http://llvm.org/bugs/attachment.cgi?id=13549&action=edit
Failing compilation files.
Somewhere after r223372 I started having problems cross building clang for the
PowerPC. I get the following (with r224322):
[~] dev% sh LoopStrengthReduce-f1225a.sh
Do not know how to custom type legalize this operation!
UNREACHABLE executed at
/home/rich/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:6500!
0 clang 0x00000000028070b2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 clang 0x00000000028052f1
2 libpthread.so.0 0x0000003a6320f6d0
3 libc.so.6 0x0000003a62a35877 gsignal + 55
4 libc.so.6 0x0000003a62a36f68 abort + 328
5 clang 0x00000000027ed5ac
6 clang 0x0000000001c94c90
llvm::PPCTargetLowering::ReplaceNodeResults(llvm::SDNode*,
llvm::SmallVectorImpl<llvm::SDValue>&, llvm::SelectionDAG&) const + 512
7 clang 0x0000000001f82b78
8 clang 0x0000000001fe35ec
9 clang 0x0000000001f80047
10 clang 0x0000000001f80aee llvm::SelectionDAG::LegalizeTypes() + 494
11 clang 0x0000000001f55c95
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 517
12 clang 0x0000000001f590db
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1403
13 clang 0x0000000001f5a97b
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 763
14 clang 0x0000000001c8623a
15 clang 0x000000000278ea1f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
16 clang 0x000000000278ee8b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
17 clang 0x000000000278f1cd
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 797
18 clang 0x000000000091a73e
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
3310
19 clang 0x000000000090c5dc
20 clang 0x0000000000ad86a3 clang::ParseAST(clang::Sema&, bool, bool)
+ 483
21 clang 0x000000000090d2eb clang::CodeGenAction::ExecuteAction() +
59
22 clang 0x000000000075aae6 clang::FrontendAction::Execute() + 118
23 clang 0x0000000000737689
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345
24 clang 0x000000000071e07e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2014
25 clang 0x0000000000714da8 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 2232
26 clang 0x00000000006f0a1e main + 4366
27 libc.so.6 0x0000003a62a21d65 __libc_start_main + 245
28 clang 0x000000000071373d
Stack dump:
0. Program arguments: /home/rich/llvm-dir/bin/clang -cc1 -triple
powerpc-ellcc-linux -S -disable-free -main-file-name LoopStrengthReduce.cpp
-mrelocation-model static -mthread-model posix -fmath-errno -no-integrated-as
-mconstructor-aliases -target-cpu ppc -target-linker-version 2.23.2
-dwarf-column-info -ffunction-sections -fdata-sections -D _DEBUG -D _GNU_SOURCE
-D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D
ELLCC_ARG0="ppc-linux-eng" -O3 -Wcast-qual -Wno-long-long -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default
-Wno-uninitialized -Wno-missing-field-initializers -Wno-comment -pedantic
-std=c++11 -fdeprecated-macro -fno-dwarf-directory-asm -ferror-limit 19
-fmessage-length 81 -mstackrealign -fno-rtti -fno-signed-char
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -x c++ LoopStrengthReduce-f1225a.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'LoopStrengthReduce-f1225a.cpp'.
4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@_ZN12_GLOBAL__N_111LSRInstance24GenerateAllReuseFormulaeEv'
LoopStrengthReduce-f1225a.sh: line 1: 1135 Aborted (core
dumped) "/home/rich/llvm-dir/bin/clang" "-cc1" "-triple" "powerpc-ellcc-linux"
"-S" "-disable-free" "-main-file-name" "LoopStrengthReduce.cpp"
"-mrelocation-model" "static" "-mthread-model" "posix" "-fmath-errno"
"-no-integrated-as" "-mconstructor-aliases" "-target-cpu" "ppc"
"-target-linker-version" "2.23.2" "-dwarf-column-info" "-ffunction-sections"
"-fdata-sections" "-D" "_DEBUG" "-D" "_GNU_SOURCE" "-D"
"__STDC_CONSTANT_MACROS" "-D" "__STDC_FORMAT_MACROS" "-D" "__STDC_LIMIT_MACROS"
"-D" "ELLCC_ARG0=\"ppc-linux-eng\"" "-O3" "-Wcast-qual" "-Wno-long-long"
"-Wall" "-W" "-Wno-unused-parameter" "-Wwrite-strings"
"-Wcovered-switch-default" "-Wno-uninitialized"
"-Wno-missing-field-initializers" "-Wno-comment" "-pedantic" "-std=c++11"
"-fdeprecated-macro" "-fno-dwarf-directory-asm" "-ferror-limit" "19"
"-fmessage-length" "81" "-mstackrealign" "-fno-rtti" "-fno-signed-char"
"-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics"
"-vectorize-loops" "-vectorize-slp" "-x" "c++" "LoopStrengthReduce-f1225a.cpp"
[~] dev
--
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/20141216/1f4a2974/attachment.html>
More information about the llvm-bugs
mailing list