[mips][microMIPS] Fix issue with 16b instructions in jr instruction delay slot
authorJozef Kolek <jozef.kolek@imgtec.com>
Tue, 13 Jan 2015 15:59:17 +0000 (15:59 +0000)
committerJozef Kolek <jozef.kolek@imgtec.com>
Tue, 13 Jan 2015 15:59:17 +0000 (15:59 +0000)
commite7cad7a1dffff3232e649c7684dfedf5e640b94d
tree30800e13863b2646f57e22c4553c3a099b680b1b
parentbd1d69add68fa04a63a84db37ad9229732e9d08a
[mips][microMIPS] Fix issue with 16b instructions in jr instruction delay slot

16 bit instructions are not allowed in jr delay slot. Same stands for
PseudoIndirectBranch and PseudoReturn.

Differential Revision: http://reviews.llvm.org/D6815

llvm-svn: 225798
llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
llvm/test/CodeGen/Mips/micromips-delay-slot-jr.ll [new file with mode: 0644]