1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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
This commit is contained in:
Reed Kotler 2013-08-10 22:18:22 +00:00
parent 3525aff8f6
commit 9508f238aa

View 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;
}