[llvm-bugs] [Bug 24542] New: [powerpc-ubuntu] code generation failure

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 13:53:16 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24542

            Bug ID: 24542
           Summary: [powerpc-ubuntu] code generation failure
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kanagak86 at yahoo.ca
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14760
  --> https://llvm.org/bugs/attachment.cgi?id=14760&action=edit
coge generator bug from PPC

LLVM Version: 3.8r245701

I've attached the simplified version created by bugpoint. 

llc:
/home/kajank/compiler/llvm37_r245701/lib/Target/PowerPC/PPCVSXFMAMutate.cpp:188:
bool {anonymous}::PPCVSXFMAMutate::processBlock(llvm::MachineBasicBlock&):
Assertion `(!TargetRegisterInfo::isVirtualRegister(AddendSrcReg) ||
LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) && "Addend source register is
not live!"' failed.
#0 0x10d29800 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/kajank/compiler/llvm/Release+Asserts/bin/llc+0x10d29800)
#1 0x10d2a960 PrintStackTraceSignalHandler(void*)
(/home/kajank/compiler/llvm/Release+Asserts/bin/llc+0x10d2a960)
#2 0x10d281dc llvm::sys::RunSignalHandlers()
(/home/kajank/compiler/llvm/Release+Asserts/bin/llc+0x10d281dc)
#3 0x10d284c4 SignalHandler(int)
(/home/kajank/compiler/llvm/Release+Asserts/bin/llc+0x10d284c4)
0  llc       0x0000000010d29800 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 144
1  llc       0x0000000010d2a960
2  llc       0x0000000010d281dc llvm::sys::RunSignalHandlers() + 124
3  llc       0x0000000010d284c4
4            0x00003fffab8b0478 __kernel_sigtramp_rt64 + 0
5  libc.so.6 0x00003fffab4006b8 gsignal + 72
6  libc.so.6 0x00003fffab40295c abort + 636
7  libc.so.6 0x00003fffab3f6274
8  libc.so.6 0x00003fffab3f6364 __assert_fail + 100
9  llc       0x000000001026af14
10 llc       0x000000001026b864
11 llc       0x00000000106669b8
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 280
12 llc       0x0000000010bf3978
llvm::FPPassManager::runOnFunction(llvm::Function&) + 760
13 llc       0x0000000010bf430c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 844
14 llc       0x0000000010bf46dc llvm::legacy::PassManager::run(llvm::Module&) +
28
15 llc       0x00000000101dec00
16 llc       0x00000000101be818 main + 344
17 libc.so.6 0x00003fffab3e4e80
18 libc.so.6 0x00003fffab3e5074 __libc_start_main + 196
Stack dump:
0.      Program arguments: llc kernel.bc
1.      Running pass 'Function Pass Manager' on module 'kernel.bc'.
2.      Running pass 'PowerPC VSX FMA Mutation' on function '@acosh_float8'
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/20150821/b119dfca/attachment.html>


More information about the llvm-bugs mailing list