summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/CMakeLists.txt
diff options
context:
space:
mode:
authorAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-21 10:20:02 +0000
committerAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-21 10:20:02 +0000
commitde7be5e46f9eb3433fab194897859291e3dbc98f (patch)
tree07ff1d0e3e834115e6eb817f15430b5e21d4e8da /llvm/lib/Target/Mips/CMakeLists.txt
parentbecc204633c2f4b67df1a2f8892116777be8c575 (diff)
downloadbcm5719-llvm-de7be5e46f9eb3433fab194897859291e3dbc98f.tar.gz
bcm5719-llvm-de7be5e46f9eb3433fab194897859291e3dbc98f.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: 332834
Diffstat (limited to 'llvm/lib/Target/Mips/CMakeLists.txt')
-rw-r--r--llvm/lib/Target/Mips/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/CMakeLists.txt b/llvm/lib/Target/Mips/CMakeLists.txt
index d5d84b8b617..9b15cd4efdf 100644
--- a/llvm/lib/Target/Mips/CMakeLists.txt
+++ b/llvm/lib/Target/Mips/CMakeLists.txt
@@ -31,14 +31,13 @@ add_llvm_target(MipsCodeGen
MipsConstantIslandPass.cpp
MipsDelaySlotFiller.cpp
MipsFastISel.cpp
- MipsHazardSchedule.cpp
MipsInstrInfo.cpp
MipsInstructionSelector.cpp
MipsISelDAGToDAG.cpp
MipsISelLowering.cpp
MipsFrameLowering.cpp
MipsLegalizerInfo.cpp
- MipsLongBranch.cpp
+ MipsBranchExpansion.cpp
MipsMCInstLower.cpp
MipsMachineFunction.cpp
MipsModuleISelDAGToDAG.cpp
OpenPOWER on IntegriCloud