[LLVMbugs] [Bug 4926] New: Assertion in rewriteARMFrameIndex()

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 8 09:15:10 PDT 2009


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

           Summary: Assertion in rewriteARMFrameIndex()
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


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

Consider the attached bytecode. It causes the following assertion:
llc: /home/asl/proj/llvm/src_arm/lib/Target/ARM/ARMBaseInstrInfo.cpp:999: bool
llvm::rewriteARMFrameIndex(llvm::MachineInstr&, unsigned int, unsigned int,
int&, const llvm::ARMBaseInstrInfo&): Assertion `(Offset & (Scale-1)) == 0 &&
"Can't encode this offset!"' failed.


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