summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/longbranch.ll
diff options
context:
space:
mode:
authorAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-22 13:24:38 +0000
committerAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-22 13:24:38 +0000
commita5f755186a7de274b35966c22dc57b4688ee2458 (patch)
tree53061ae3a6be672f6fd9faf7eb01426f5cead14d /llvm/test/CodeGen/Mips/longbranch.ll
parent06a485d390574d2b41658a04aabd64d8ce638429 (diff)
downloadbcm5719-llvm-a5f755186a7de274b35966c22dc57b4688ee2458.tar.gz
bcm5719-llvm-a5f755186a7de274b35966c22dc57b4688ee2458.zip
[mips] Merge MipsLongBranch and MipsHazardSchedule passes
MipsLongBranchPass and MipsHazardSchedule passes are joined to one pass because of mutual conflict. When MipsHazardSchedule inserts 'nop's, it potentially breaks some jumps, so they have to be expanded to long branches. When some branch is expanded to long branch, it potentially creates a hazard situation, which should be fixed by adding nops. New pass is called MipsBranchExpansion, it combines these two passes, and runs them alternately until one of them reports no changes were made. Differential Revision: https://reviews.llvm.org/D46641 llvm-svn: 332977
Diffstat (limited to 'llvm/test/CodeGen/Mips/longbranch.ll')
-rw-r--r--llvm/test/CodeGen/Mips/longbranch.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/longbranch.ll b/llvm/test/CodeGen/Mips/longbranch.ll
index 37496e0f8d7..74cd1fe3aa4 100644
--- a/llvm/test/CodeGen/Mips/longbranch.ll
+++ b/llvm/test/CodeGen/Mips/longbranch.ll
@@ -9,8 +9,6 @@
; RUN: | FileCheck %s -check-prefix=O32-STATIC
; RUN: llc -mtriple=mipsel-unknown-linux-gnu -mcpu=mips32r6 -force-mips-long-branch -O3 \
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=O32-R6-PIC
-; RUN: llc -mtriple=mipsel-unknown-linux-gnu -mcpu=mips32r6 -force-mips-long-branch -O3 \
-; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=O32-R6-STATIC
; RUN: llc -mtriple=mips64el-unknown-linux-gnu -mcpu=mips4 -target-abi=n64 -force-mips-long-branch -O3 -relocation-model=pic \
; RUN: < %s | FileCheck %s -check-prefix=MIPS4
OpenPOWER on IntegriCloud