]> granicus.if.org Git - llvm/commit
[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)
commitabdc0284ffba30425f5c37ddcc11b1c56b234fe0
treec7e842767da8ff9d87b0fa206ee5be2e72411ac8
parent102e66e83c92b6699ed3f3669a43b23d70d059a5
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225798 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsDelaySlotFiller.cpp
test/CodeGen/Mips/micromips-delay-slot-jr.ll [new file with mode: 0644]