Remove a bogus assertion.

llvm-svn: 75206
This commit is contained in:
Evan Cheng 2009-07-10 00:23:48 +00:00
parent 75aa75cabc
commit 223ac25930
2 changed files with 1 additions and 2 deletions

View File

@ -687,8 +687,6 @@ void ARMLoadStoreOpt::AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps) {
}
static int getMemoryOpOffset(const MachineInstr *MI) {
assert(isMemoryOp(MI));
int Opcode = MI->getOpcode();
bool isAM2 = Opcode == ARM::LDR || Opcode == ARM::STR;
bool isAM3 = Opcode == ARM::LDRD || Opcode == ARM::STRD;

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -march=arm
; RUN: llvm-as < %s | llc -mtriple=arm-linux
define void @foo(<8 x float>* %f, <8 x float>* %g, <4 x i64>* %y)
{