parent
75aa75cabc
commit
223ac25930
|
@ -687,8 +687,6 @@ void ARMLoadStoreOpt::AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int getMemoryOpOffset(const MachineInstr *MI) {
|
static int getMemoryOpOffset(const MachineInstr *MI) {
|
||||||
assert(isMemoryOp(MI));
|
|
||||||
|
|
||||||
int Opcode = MI->getOpcode();
|
int Opcode = MI->getOpcode();
|
||||||
bool isAM2 = Opcode == ARM::LDR || Opcode == ARM::STR;
|
bool isAM2 = Opcode == ARM::LDR || Opcode == ARM::STR;
|
||||||
bool isAM3 = Opcode == ARM::LDRD || Opcode == ARM::STRD;
|
bool isAM3 = Opcode == ARM::LDRD || Opcode == ARM::STRD;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
; RUN: llvm-as < %s | llc -march=arm
|
; 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)
|
define void @foo(<8 x float>* %f, <8 x float>* %g, <4 x i64>* %y)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue