summaryrefslogtreecommitdiff
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
commit76ba4f5275a8bd908275076b50f51f3aa9a5d4e2 (patch)
tree4f0ff31ce8a35f50d779e42a4bc57b0971090905
parent5cf14916c3b1dd1df32c825b8eb63b6d828aa7a5 (diff)
downloadllvm-76ba4f5275a8bd908275076b50f51f3aa9a5d4e2.tar.gz
llvm-76ba4f5275a8bd908275076b50f51f3aa9a5d4e2.tar.bz2
llvm-76ba4f5275a8bd908275076b50f51f3aa9a5d4e2.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188143 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.td b/lib/Target/Mips/Mips16InstrInfo.td
index aef4e9283e..da4b22186f 100644
--- a/lib/Target/Mips/Mips16InstrInfo.td
+++ b/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;
}