diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-20 06:38:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-20 06:38:42 +0000 |
commit | 4fd0e4f4157757e4bec452bd8f27ef14e4e36659 (patch) | |
tree | 0d675e6a9f7522693b46fc510fdba35d99d5af68 /llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | |
parent | 1f1c6add10eaad2908978b7ba6c3485a58f29d72 (diff) | |
download | bcm5719-llvm-4fd0e4f4157757e4bec452bd8f27ef14e4e36659.tar.gz bcm5719-llvm-4fd0e4f4157757e4bec452bd8f27ef14e4e36659.zip |
Transfer memory operands to the right instruction.
They need to go on the PICLDR as the verifier points out.
llvm-svn: 157151
Diffstat (limited to 'llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 5fc0360528c..ac9163f13db 100644 --- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -925,7 +925,7 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB, if (isARM) { AddDefaultPred(MIB3); if (Opcode == ARM::MOV_ga_pcrel_ldr) - MIB2->setMemRefs(MI.memoperands_begin(), MI.memoperands_end()); + MIB3->setMemRefs(MI.memoperands_begin(), MI.memoperands_end()); } TransferImpOps(MI, MIB1, MIB3); MI.eraseFromParent(); |