[LLVMbugs] [Bug 13249] New: Assertion failed: (OtherDst == B), function RegistersDefinedFromSameValue

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 1 03:11:33 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13249

             Bug #: 13249
           Summary: Assertion failed: (OtherDst == B), function
                    RegistersDefinedFromSameValue
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: benny.kra at gmail.com
                CC: llvmbugs at cs.uiuc.edu, stoklund at 2pi.dk
    Classification: Unclassified


Created attachment 8811
  --> http://llvm.org/bugs/attachment.cgi?id=8811
reduced test case

$ llc < t.ll
Assertion failed: (OtherDst == B), function RegistersDefinedFromSameValue, file
RegisterCoalescer.cpp, line 1198.
0  libLLVM-3.2svn.dylib 0x000000010ecc91ae _ZL15PrintStackTracePv + 46
1  libLLVM-3.2svn.dylib 0x000000010ecc97c8 _ZL13SignalHandleri + 408
2  libsystem_c.dylib    0x00007fff8fe57cfa _sigtramp + 26
3  libsystem_c.dylib    0x000004006d34e310 _sigtramp + 18446607737980675632
4  libLLVM-3.2svn.dylib 0x000000010ecc947b raise + 27
5  libLLVM-3.2svn.dylib 0x000000010ecc9532 abort + 18
6  libLLVM-3.2svn.dylib 0x000000010ecc9511 __assert_rtn + 129
7  libLLVM-3.2svn.dylib 0x000000010e11dcac
_ZL29RegistersDefinedFromSameValueRN4llvm13LiveIntervalsERKNS_18TargetRegisterInfoERNS_13CoalescerPairEPNS_6VNInfoES8_RNS_11SmallVectorIPNS_12MachineInstrELj8EEE
+ 540
8  libLLVM-3.2svn.dylib 0x000000010e11a875 (anonymous
namespace)::RegisterCoalescer::joinIntervals(llvm::CoalescerPair&) + 1157
9  libLLVM-3.2svn.dylib 0x000000010e118fe5 (anonymous
namespace)::RegisterCoalescer::joinCopy(llvm::MachineInstr*, bool&) + 2629
10 libLLVM-3.2svn.dylib 0x000000010e118523 (anonymous
namespace)::RegisterCoalescer::copyCoalesceWorkList(unsigned int) + 355
11 libLLVM-3.2svn.dylib 0x000000010e11830e (anonymous
namespace)::RegisterCoalescer::copyCoalesceInMBB(llvm::MachineBasicBlock*) +
318
12 libLLVM-3.2svn.dylib 0x000000010e118149 (anonymous
namespace)::RegisterCoalescer::joinAllIntervals() + 4329
13 libLLVM-3.2svn.dylib 0x000000010e116b50 (anonymous
namespace)::RegisterCoalescer::runOnMachineFunction(llvm::MachineFunction&) +
464
14 libLLVM-3.2svn.dylib 0x000000010e0272ee
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
15 libLLVM-3.2svn.dylib 0x000000010e34de9a
llvm::FPPassManager::runOnFunction(llvm::Function&) + 442
16 libLLVM-3.2svn.dylib 0x000000010e34e19d
llvm::FPPassManager::runOnModule(llvm::Module&) + 125
17 libLLVM-3.2svn.dylib 0x000000010e34e6ac
llvm::MPPassManager::runOnModule(llvm::Module&) + 1196
18 libLLVM-3.2svn.dylib 0x000000010e34f057
llvm::PassManagerImpl::run(llvm::Module&) + 167
19 libLLVM-3.2svn.dylib 0x000000010e34f281
llvm::PassManager::run(llvm::Module&) + 33
20 llc                  0x000000010d753e65 main + 5653
21 llc                  0x000000010d752804 start + 52
22 llc                  0x0000000000000001 start + 18446744069188802609
Stack dump:
0.    Program arguments: llc 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'Simple Register Coalescing' on function '@__strtok_r_1c'

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list