summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-08-10 22:18:22 +0000
committerReed Kotler <rkotler@mips.com>2013-08-10 22:18:22 +0000
commit705c5951ca9cd01fa61ee23cad0f242e0709c9e5 (patch)
tree7606e647d41ab51c5b9494eee280e5cb045c7627 /llvm/lib
parent3dcdb89d6949e0dfbc2cab389780eaf8748a797b (diff)
downloadbcm5719-llvm-705c5951ca9cd01fa61ee23cad0f242e0709c9e5.tar.gz
bcm5719-llvm-705c5951ca9cd01fa61ee23cad0f242e0709c9e5.zip
Incorrect JAL instruction attributes caused the optimizer to make a wrong
instruction move. Just affects static relocation. -static works fine now with mips16 for the most part. llvm-svn: 188143
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/Mips16InstrInfo.td3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.td b/llvm/lib/Target/Mips/Mips16InstrInfo.td
index aef4e9283e1..da4b22186ff 100644
--- a/llvm/lib/Target/Mips/Mips16InstrInfo.td
+++ b/llvm/lib/Target/Mips/Mips16InstrInfo.td
@@ -684,10 +684,7 @@ def DivuRxRy16: FRR16_div_ins<0b11011, "divu", IIAlu> {
//
def Jal16 : FJAL16_ins<0b0, "jal", IIAlu> {
- let isBranch = 1;
let hasDelaySlot = 0; // not true, but we add the nop for now
- let isTerminator=1;
- let isBarrier=1;
let isCall=1;
}
OpenPOWER on IntegriCloud