[LLVMbugs] [Bug 6480] New: ARM Codegen asserts Running pass 'Control Flow Optimizer' on function '@"java.lang.String::getChars"'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 3 07:29:11 PST 2010


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

           Summary: ARM Codegen asserts Running pass 'Control Flow
                    Optimizer' on function '@"java.lang.String::getChars"'
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xerxes at zafena.se
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4378)
 --> (http://llvm.org/bugs/attachment.cgi?id=4378)
bugpoint-reduced-simplified.bc

the reduced bugpoint-reduced-simplified.bc from PR6478
 hits a new bug so im filing a new bugreport.

Testcase
xerxes at xerxes-J464X:~$ llc < bugpoint-reduced-simplified.bc -march=arm
    .syntax unified
    .eabi_attribute 20, 1
    .eabi_attribute 21, 1
    .eabi_attribute 23, 3
    .eabi_attribute 24, 1
    .eabi_attribute 25, 1
    .file    "<stdin>"
llc: /home/xerxes/llvm/lib/CodeGen/RegisterScavenging.cpp:193: void
llvm::RegScavenger::forward(): Assertion `SubUsed && "Using an undefined
register!"' failed.
0  libLLVM-2.7svn.so 0x01893e96
1  libLLVM-2.7svn.so 0x01893d0b
2  libpthread.so.0   0x003142b8
3  libc.so.6         0x00181a42 abort + 386
4  libc.so.6         0x00177748 __assert_fail + 248
5  libLLVM-2.7svn.so 0x01305741 llvm::RegScavenger::forward() + 1181
6  libLLVM-2.7svn.so 0x010fca19
llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>) + 105
7  libLLVM-2.7svn.so 0x0121bcf4
llvm::BranchFolder::SplitMBBAt(llvm::MachineBasicBlock&,
llvm::ilist_iterator<llvm::MachineInstr>) + 358
8  libLLVM-2.7svn.so 0x0121cb16
llvm::BranchFolder::CreateCommonTailOnlyBlock(llvm::MachineBasicBlock*&,
unsigned int) + 488
9  libLLVM-2.7svn.so 0x0121d152
llvm::BranchFolder::TryTailMergeBlocks(llvm::MachineBasicBlock*,
llvm::MachineBasicBlock*) + 1468
10 libLLVM-2.7svn.so 0x0121d566
llvm::BranchFolder::TailMergeBlocks(llvm::MachineFunction&) + 428
11 libLLVM-2.7svn.so 0x0121b254
llvm::BranchFolder::OptimizeFunction(llvm::MachineFunction&,
llvm::TargetInstrInfo const*, llvm::TargetRegisterInfo const*,
llvm::MachineModuleInfo*) + 650
12 libLLVM-2.7svn.so 0x0121a982
13 libLLVM-2.7svn.so 0x01296cdb
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 87
14 libLLVM-2.7svn.so 0x01442115
llvm::FPPassManager::runOnFunction(llvm::Function&) + 301
15 libLLVM-2.7svn.so 0x01441e54
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 90
16 libLLVM-2.7svn.so 0x01441af6 llvm::FunctionPassManager::run(llvm::Function&)
+ 140
17 llc               0x080590bb main + 3024
18 libc.so.6         0x0016abd6 __libc_start_main + 230
19 llc               0x08057bb1
Stack dump:
0.    Program arguments: llc -march=arm 
1.    Running pass 'Control Flow Optimizer' on function
'@"java.lang.String::getChars"'
Avbruten (SIGABRT) (minnesutskrift skapad)

-- 
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