Remove a bogus assertion.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 10 Jul 2009 00:23:48 +0000 (00:23 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 10 Jul 2009 00:23:48 +0000 (00:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75206 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/illegal-vector-bitcast.ll

index d0a6d5c9ec7201f5739569efed122a601e0aa150..4c53d997dc9a466d9dfc02ad6414d57982a1efa5 100644 (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;
index ad24eb5dad7166337a2edc4a17d724c8c989ae52..832858ef8e5b61b9b3e1859d613e4663d4a03419 100644 (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)
 {