summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2012-10-30 00:54:49 +0000
committerReed Kotler <rkotler@mips.com>2012-10-30 00:54:49 +0000
commita81175371628fd34b10bfcc03c1c7dbe9a62621a (patch)
tree844eef58a2e12cb80e03879b4753b21895a74eaf /llvm/lib/Target/Mips/Mips16InstrInfo.cpp
parent73ddcfe03fd05af2d86465eef4d38ab739400c78 (diff)
downloadbcm5719-llvm-a81175371628fd34b10bfcc03c1c7dbe9a62621a.tar.gz
bcm5719-llvm-a81175371628fd34b10bfcc03c1c7dbe9a62621a.zip
Change mips16 delay slot jumps to non delay slot forms by default.
We will make them delay slot forms if there is something that can be placed in the delay slot during a separate pass. Mips16 extended instructions cannot be placed in delay slots. llvm-svn: 166990
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/Mips16InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
index 5e33fed0cc9..fa0876a4ebe 100644
--- a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
+++ b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
@@ -126,7 +126,7 @@ bool Mips16InstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
default:
return false;
case Mips::RetRA16:
- ExpandRetRA16(MBB, MI, Mips::JrRa16);
+ ExpandRetRA16(MBB, MI, Mips::JrcRa16);
break;
}
OpenPOWER on IntegriCloud