Roman Levenstein
2009-Jan-15 09:35 UTC
[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
Hi Richard, Thanks for working on this! Your patched solved my initial problem, but introduced another one. Please find attached another BC file that fails on xcore with the linear scan regalloc. This is the error message I get eliminateFrameIndex Frame size too big: -3 0 llc 0x08affd1e 1 libc.so.6 0xb7d35a01 abort + 257 2 llc 0x081a0972 llvm::XCoreRegisterInfo::eliminateFrameIndex(llvm::ilist_iterator<llvm::MachineInstr>, int, llvm::RegScavenger*) const + 1570 Aborted Could you check what is still wrong? -Roman 2009/1/14, Richard Osborne <richard at xmos.com>:> Chris Lattner wrote: > > On Jan 14, 2009, at 3:14 AM, Richard Osborne wrote: > > > > > >>> Evan > >>> > >> OK, that make sense, I'll take a look at changing this. I've added a > >> bug > >> for the issue: > >> > >> http://llvm.org/bugs/show_bug.cgi?id=3324 > >> > >> There is currently no Backend: XCore component in bugzilla so I've put > >> it under new-bugs. Could someone add this component for me. > >> > > > > Added. You should also be automatically CC'd on anything filed to > > that component, > > > > -Chris > > > > Thanks, > > I've just commited a fix in r62238: > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090112/072150.html > > > -- > Richard Osborne | XMOS > http://www.xmos.com > > > _______________________________________________ > > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- A non-text attachment was scrubbed... Name: Queens.c.bc Type: application/octet-stream Size: 7956 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090115/8a43e08f/attachment.obj>
Richard Osborne
2009-Jan-15 11:57 UTC
[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
Roman Levenstein wrote:> Hi Richard, > > Thanks for working on this! Your patched solved my initial problem, > but introduced another one. Please find attached another BC file that > fails on xcore with the linear scan regalloc. > > This is the error message I get > eliminateFrameIndex Frame size too big: -3 > 0 llc 0x08affd1e > 1 libc.so.6 0xb7d35a01 abort + 257 > 2 llc 0x081a0972 > llvm::XCoreRegisterInfo::eliminateFrameIndex(llvm::ilist_iterator<llvm::MachineInstr>, > int, llvm::RegScavenger*) const + 1570 > Aborted > > Could you check what is still wrong? > > -RomanI had a fix for this in my local branch which I hadn't got around to commiting. This should be fixed in 62258. http://llvm.org/viewvc/llvm-project?rev=62258&view=rev -- Richard Osborne | XMOS http://www.xmos.com
Roman Levenstein
2009-Jan-15 13:52 UTC
[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
Hi Richard, 2009/1/15, Richard Osborne <richard at xmos.com>:> Roman Levenstein wrote: > > Hi Richard, > > > > Thanks for working on this! Your patched solved my initial problem, > > but introduced another one. Please find attached another BC file that > > fails on xcore with the linear scan regalloc. > > > > This is the error message I get > > eliminateFrameIndex Frame size too big: -3 > > 0 llc 0x08affd1e > > 1 libc.so.6 0xb7d35a01 abort + 257 > > 2 llc 0x081a0972 > > llvm::XCoreRegisterInfo::eliminateFrameIndex(llvm::ilist_iterator<llvm::MachineInstr>, > > int, llvm::RegScavenger*) const + 1570 > > Aborted > > > > Could you check what is still wrong? > > > > -Roman > > I had a fix for this in my local branch which I hadn't got around to > commiting. This should be fixed in 62258. > > http://llvm.org/viewvc/llvm-project?rev=62258&view=revThanks! That solved my problem. No more crashes related to the LR register on XCore! -Roman
Seemingly Similar Threads
- [LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
- [LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
- [LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
- [LLVMdev] Expected behavior of eliminateFrameIndex() on dbg_value machine instructions
- [LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?