summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/longbranch.ll
diff options
context:
space:
mode:
authorJozef Kolek <jozef.kolek@imgtec.com>2015-02-13 17:51:27 +0000
committerJozef Kolek <jozef.kolek@imgtec.com>2015-02-13 17:51:27 +0000
commit650a61a9438d3979679e19f38ad3972542cb155c (patch)
tree79d66fd4f09e4db8a4f88b3c4c00e6c71f22fb65 /llvm/test/CodeGen/Mips/longbranch.ll
parent8a9d23bf5349a121903aaf3c3096da07da9c3b00 (diff)
downloadbcm5719-llvm-650a61a9438d3979679e19f38ad3972542cb155c.tar.gz
bcm5719-llvm-650a61a9438d3979679e19f38ad3972542cb155c.zip
[mips][microMIPS] Delay slot filler: Replace the microMIPS JR with the JRC
This patch adds functionality in MIPS delay slot filler such as if delay slot filler have to put NOP instruction into the delay slot of microMIPS JR instruction, then instead of emitting NOP this instruction is replaced by compact jump instruction JRC. Differential Revision: http://reviews.llvm.org/D7522 llvm-svn: 229128
Diffstat (limited to 'llvm/test/CodeGen/Mips/longbranch.ll')
-rw-r--r--llvm/test/CodeGen/Mips/longbranch.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/longbranch.ll b/llvm/test/CodeGen/Mips/longbranch.ll
index 821ced8e7b8..f61b250491e 100644
--- a/llvm/test/CodeGen/Mips/longbranch.ll
+++ b/llvm/test/CodeGen/Mips/longbranch.ll
@@ -126,8 +126,7 @@ end:
; MICROMIPS: li16 $[[R2:[0-9]+]], 1
; MICROMIPS: sw16 $[[R2]], 0($[[R1]])
; MICROMIPS: $[[BB2]]:
-; MICROMIPS: jr $ra
-; MICROMIPS: nop
+; MICROMIPS: jrc $ra
; Check the NaCl version. Check that sp change is not in the branch delay slot
OpenPOWER on IntegriCloud