summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/llvm-ir
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@mips.com>2017-11-23 12:38:04 +0000
committerSimon Dardis <simon.dardis@mips.com>2017-11-23 12:38:04 +0000
commiteb5bfd9889ce9c35fba7bfd71df50c3424647d0e (patch)
tree12188c0fffe0eaa25d6588fecda7cff62beb1388 /llvm/test/CodeGen/Mips/llvm-ir
parent4c488975daf72e5ffd3b57971950d9e563d65074 (diff)
downloadbcm5719-llvm-eb5bfd9889ce9c35fba7bfd71df50c3424647d0e.tar.gz
bcm5719-llvm-eb5bfd9889ce9c35fba7bfd71df50c3424647d0e.zip
[mips] Use the delay slot filler to convert branches for microMIPSR6.
The MIPS delay slot filler converts delay slot branches into compact forms for the MIPS ISAs which support them. For branches that compare (in)equality with with zero, it converts them into branches with implict zero register operands. These branches have a slightly greater range than normal two register operands branches. Changing the branches at this point in the pipeline offers the long branch pass the ability to mark better judgements if a long branch sequence is required. Reviewers: atanasyan Differential Revision: https://reviews.llvm.org/D40314 llvm-svn: 318908
Diffstat (limited to 'llvm/test/CodeGen/Mips/llvm-ir')
-rw-r--r--llvm/test/CodeGen/Mips/llvm-ir/sub.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/llvm-ir/sub.ll b/llvm/test/CodeGen/Mips/llvm-ir/sub.ll
index 655addb10a6..2ab7225f445 100644
--- a/llvm/test/CodeGen/Mips/llvm-ir/sub.ll
+++ b/llvm/test/CodeGen/Mips/llvm-ir/sub.ll
@@ -222,7 +222,6 @@ entry:
; MM64: dsrl $[[T3:[0-9]+]], $[[T2]], 32
; MM64: dsubu $2, $[[T0]], $[[T3]]
; MM64: dsubu $3, $5, $7
-; MM64: jr $ra
%r = sub i128 %a, %b
ret i128 %r
OpenPOWER on IntegriCloud