[LLVMbugs] [Bug 5991] New: Need to spill more than one physical registers with inline asm

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 10 17:46:59 PST 2010


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

           Summary: Need to spill more than one physical registers with
                    inline asm
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Register Allocator
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lessen42 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


>From ffmpeg libavcodec/x86/dsputil_mmx.c

$ llc bugpoint-reduced-simplified.bc -relocation-model=pic
Need to spill more than one physical registers!
UNREACHABLE executed at
/usr/local/src/llvm/lib/CodeGen/VirtRegRewriter.cpp:1674!
0  llc               0x00000001008f8162 PrintStackTrace(void*) + 34
1  llc               0x00000001008f89ec SignalHandler(int) + 652
2  libSystem.B.dylib 0x00007fff83e42eaa _sigtramp + 26
3  libSystem.B.dylib 000000000000000000 _sigtramp + 2082197872
4  llc               0x00000001008daf6d llvm::llvm_unreachable_internal(char
const*, char const*, unsigned int) + 381
5  llc               0x00000001006e8511 (anonymous
namespace)::LocalRewriter::RewriteMBB(llvm::MachineBasicBlock&,
llvm::VirtRegMap&, llvm::LiveIntervals*, (anonymous
namespace)::AvailableSpills&, llvm::BitVector&,
std::vector<llvm::MachineOperand*, std::allocator<llvm::MachineOperand*> >&) +
13809
6  llc               0x00000001006ed540 (anonymous
namespace)::LocalRewriter::runOnMachineFunction(llvm::MachineFunction&,
llvm::VirtRegMap&, llvm::LiveIntervals*) + 1280
7  llc               0x0000000100658636 (anonymous
namespace)::RALinScan::runOnMachineFunction(llvm::MachineFunction&) + 886
8  llc               0x000000010060ab2b
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 43
9  llc               0x000000010088615b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 475
10 llc               0x000000010088639b
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 139
11 llc               0x00000001008865be
llvm::FunctionPassManager::run(llvm::Function&) + 78
12 llc               0x00000001000260a8 main + 5672
13 llc               0x0000000100024a78 start + 52
Stack dump:
0.      Program arguments: llc bugpoint-reduced-simplified.bc
-relocation-model=pic 
1.      Running pass 'Linear Scan Register Allocator' on function
'@put_no_rnd_qpel8_mc03_mmx2'
Abort trap


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