Incorrect JAL instruction attributes caused the optimizer to make a wrong
authorReed Kotler <rkotler@mips.com>
Sat, 10 Aug 2013 22:18:22 +0000 (22:18 +0000)
committerReed Kotler <rkotler@mips.com>
Sat, 10 Aug 2013 22:18:22 +0000 (22:18 +0000)
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

lib/Target/Mips/Mips16InstrInfo.td

index aef4e9283e175f8d7c76cdbef89d70bda09c8b13..da4b22186ff20b261a37fd78a2aa308950d32616 100644 (file)
@@ -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;
 }