[LLVMbugs] [Bug 23936] New: [powerpc-ubuntu] code generation failure for some OpenCL built-ins
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 24 10:50:26 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23936
Bug ID: 23936
Summary: [powerpc-ubuntu] code generation failure for some
OpenCL built-ins
Product: new-bugs
Version: trunk
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: kanagak86 at yahoo.ca
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14513
--> https://llvm.org/bugs/attachment.cgi?id=14513&action=edit
coge generator bug from PPC
The attached file causes a crash on PPC64 (Power 8) - Ubuntu 3.16.0-23-generic.
The workload is from OpenCL 1.1 built-ins. There were couple of built-ins build
failure on vector data type; int, long, float with vec size; 8 or 16. Some of
the builtins examples: mul_hi_long, asin_h (vec16) and etc.
The last revision that it worked on was 3.6 r222776.
The problem seem to be there for all 3.6.1.
I have attached simplified version of the code generator bug created from bug
point.
Here's the snap shot of the Error:
Impossible reg-to-reg copy
UNREACHABLE executed at PPCInstrInfo.cpp:768!
#0 0x10a55b5c llvm::sys::PrintStackTrace(_IO_FILE*)
(/home/kajank/compiler/llvm_361_r240134/Release+Asserts/bin/llc+0x10a55b5c)
#1 0x10a56998 PrintStackTraceSignalHandler(void*)
(/home/kajank/compiler/llvm_361_r240134/Release+Asserts/bin/llc+0x10a56998)
#2 0x10a57368 SignalHandler(int)
(/home/kajank/compiler/llvm_361_r240134/Release+Asserts/bin/llc+0x10a57368)
0 llc 0x0000000010a55b5c llvm::sys::PrintStackTrace(_IO_FILE*) + 120
1 llc 0x0000000010a56998
2 llc 0x0000000010a57368
3 0x00003fff94ee0478 __kernel_sigtramp_rt64 + 0
4 libc.so.6 0x00003fff94a006b8 gsignal + 72
5 libc.so.6 0x00003fff94a0295c abort + 636
6 llc 0x0000000010a3b3d0 llvm::llvm_unreachable_internal(char const*,
char const*, unsigned int) + 684
7 llc 0x00000000101a8e40
llvm::PPCInstrInfo::copyPhysReg(llvm::MachineBasicBlock&,
llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >, llvm::DebugLoc, unsigned int,
unsigned int, bool) const + 2280
8 llc 0x00000000104270cc
9 llc 0x00000000104a702c
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 216
10 llc 0x000000001095595c
llvm::FPPassManager::runOnFunction(llvm::Function&) + 424
11 llc 0x0000000010955cb8 llvm::FPPassManager::runOnModule(llvm::Module&)
+ 72
12 llc 0x0000000010956360
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1088
13 llc 0x00000000109569dc llvm::legacy::PassManager::run(llvm::Module&) +
28
14 llc 0x00000000100f8da0 main + 7744
15 libc.so.6 0x00003fff949e4e80
16 libc.so.6 0x00003fff949e5074 __libc_start_main + 196
Stack dump:
0. Program arguments: llc bugpoint-reduced-simplified.bc
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2. Running pass 'Post-RA pseudo instruction expansion pass' on function
'@mul_hi_long8'
Aborted
--
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/20150624/53c1caf3/attachment.html>
More information about the llvm-bugs
mailing list