[LLVMbugs] [Bug 7421] New: TimberWolfMC armv6 no-LTO nightly test regression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 19 14:40:07 CDT 2010


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

           Summary: TimberWolfMC armv6 no-LTO nightly test regression
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5060)
 --> (http://llvm.org/bugs/attachment.cgi?id=5060)
testcase

I'm hitting an assertion failure trying to compile
MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/timberwolfmc for armv6 with LTO
disabled.  The assertion is:


Assertion failed: (SubUsed && "Using an undefined register!"), function
forward, file
/Users/bwilson/local/llvm/llvm/lib/CodeGen/RegisterScavenging.cpp, line 200.
0  llc               0x00000001008dfde2 PrintStackTrace(void*) + 38
1  llc               0x00000001008e02f0 SignalHandler(int) + 254
2  libSystem.B.dylib 0x00007fff831bb35a _sigtramp + 26
3  libSystem.B.dylib 0x00007fff831600aa tiny_malloc_from_free_list + 1196
4  libSystem.B.dylib 0x00007fff832369b4 __pthread_markcancel + 0
5  llc               0x0000000100600198 llvm::RegScavenger::forward() + 1266
6  llc               0x0000000100208a95
llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>) + 109
7  llc               0x000000010052fba3
llvm::BranchFolder::SplitMBBAt(llvm::MachineBasicBlock&,
llvm::ilist_iterator<llvm::MachineInstr>) + 261
8  llc               0x000000010052fdd8
llvm::BranchFolder::CreateCommonTailOnlyBlock(llvm::MachineBasicBlock*&,
unsigned int) + 416
9  llc               0x0000000100530d82
llvm::BranchFolder::TryTailMergeBlocks(llvm::MachineBasicBlock*,
llvm::MachineBasicBlock*) + 1414
10 llc               0x0000000100531667
llvm::BranchFolder::TailMergeBlocks(llvm::MachineFunction&) + 1689
11 llc               0x0000000100531e3f
llvm::BranchFolder::OptimizeFunction(llvm::MachineFunction&,
llvm::TargetInstrInfo const*, llvm::TargetRegisterInfo const*,
llvm::MachineModuleInfo*) + 549
12 llc               0x000000010054e439 (anonymous
namespace)::IfConverter::runOnMachineFunction(llvm::MachineFunction&) + 279
13 llc               0x000000010058c247
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
14 llc               0x000000010085ce12
llvm::FPPassManager::runOnFunction(llvm::Function&) + 348
15 llc               0x000000010085cfe5
llvm::FPPassManager::runOnModule(llvm::Module&) + 81
16 llc               0x000000010085cae4
llvm::MPPassManager::runOnModule(llvm::Module&) + 384
17 llc               0x000000010085e28d
llvm::PassManagerImpl::run(llvm::Module&) + 111
18 llc               0x000000010085e2ef llvm::PassManager::run(llvm::Module&) +
33
19 llc               0x000000010002b233 main + 2143
20 llc               0x000000010002a1dc start + 52
21 llc               0x0000000000000008 start + 4294794848
Stack dump:
0.    Program arguments: /Users/bwilson/local/llvm/install/bin/llc
-asm-verbose=false -O3 -mcpu arm1136jf-s -relocation-model pic
bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'If Converter' on function '@TW_oldinput'
Abort trap

A reduced testcase is attached.
Reproduce with:

llc -O3 -mcpu arm1136jf-s bugpoint-reduced-simplified.bc

-- 
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 LLVMbugs mailing list