[llvm-bugs] [Bug 26259] New: PPCVSXFMAMutate.cpp assertion failure

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 22 11:37:11 PST 2016


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

            Bug ID: 26259
           Summary: PPCVSXFMAMutate.cpp assertion failure
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15695
  --> https://llvm.org/bugs/attachment.cgi?id=15695&action=edit
bugpoint reduced testcase

llc -O2 -o junk.s bug.ll
llc: .../llvm/lib/CodeGen/LiveInterval.cpp:190:
{anonymous}::CalcLiveRangeUtilBase<ImplT, IteratorT, CollectionT>::iterator
{anonymous}::CalcLiveRangeUtilBase<ImplT, IteratorT,
CollectionT>::addSegment({anonymous}::CalcLiveRangeUtilBase<ImplT, IteratorT,
CollectionT>::Segment) [with ImplT = {anonymous}::CalcLiveRangeUtilVector;
IteratorT = llvm::LiveRange::Segment*; CollectionT =
llvm::SmallVector<llvm::LiveRange::Segment, 4u>;
{anonymous}::CalcLiveRangeUtilBase<ImplT, IteratorT, CollectionT>::iterator =
llvm::LiveRange::Segment*; {anonymous}::CalcLiveRangeUtilBase<ImplT, IteratorT,
CollectionT>::Segment = llvm::LiveRange::Segment]: Assertion `B->end <= Start
&& "Cannot overlap two segments with differing ValID's" " (did you def the same
reg twice in a MachineInstr?)"' failed.
#0 0x10e613b0 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/eschweitz/llvm/3.7ppc/bin/llc+0x10e613b0)
#1 0x10e62520 (.../bin/llc+0x10e62520)
#2 0x10e5fdb4 (.../bin/llc+0x10e5fdb4)
0  llc       0x0000000010e613b0 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 144
1  llc       0x0000000010e62520
2  llc       0x0000000010e5fdb4
3            0x0000100000040478 __kernel_sigtramp_rt64 + 0
4  libc.so.6 0x00001000003d0a88 gsignal + 72
5  libc.so.6 0x00001000003d693c abort + 620
6  libc.so.6 0x00001000003c65b4
7  libc.so.6 0x00001000003c66a4 __assert_fail + 100
8  llc       0x0000000010744d54
llvm::LiveRange::addSegment(llvm::LiveRange::Segment) + 2708
9  llc       0x00000000103d3ca4
10 llc       0x00000000103d5424
11 llc       0x00000000107abe38
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 280
12 llc       0x0000000010d314a8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 744
13 llc       0x0000000010d31b0c llvm::FPPassManager::runOnModule(llvm::Module&)
+ 76
14 llc       0x0000000010d31f30
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 976
15 llc       0x0000000010d3222c llvm::legacy::PassManager::run(llvm::Module&) +
28
16 llc       0x00000000101bfee8
17 llc       0x000000001019f2b0 main + 352
18 libc.so.6 0x00001000003b4d00
19 libc.so.6 0x00001000003b4ef8 __libc_start_main + 200
Stack dump:
0.      Program arguments: llc -O2 -o junk.s bug.ll 
1.      Running pass 'Function Pass Manager' on module 'bug.ll'.
2.      Running pass 'PowerPC VSX FMA Mutation' on function '@iHaveAnBug'
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/20160122/c82b671c/attachment.html>


More information about the llvm-bugs mailing list