[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?

Roman Levenstein romix.llvm at googlemail.com
Thu Jan 15 05:52:50 PST 2009


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

Thanks! That solved my problem. No more crashes related to the LR
register on XCore!

-Roman



More information about the llvm-dev mailing list