summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-03-01 01:02:36 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-03-01 01:02:36 +0000
commite44e30ca5a0763d8eb86f552514884ac4c97f8cb (patch)
tree0813a320d5507beeae784a26ee24295bbe44a1c8 /llvm/lib/Target
parente01ff9dc60688885c9539ad895c0224695854480 (diff)
downloadbcm5719-llvm-e44e30ca5a0763d8eb86f552514884ac4c97f8cb.tar.gz
bcm5719-llvm-e44e30ca5a0763d8eb86f552514884ac4c97f8cb.zip
[mips] Add options to disable searching backward and in successor blocks.
llvm-svn: 176321
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
index 28231754c94..bd25f42d9b0 100644
--- a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
+++ b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
@@ -53,6 +53,18 @@ static cl::opt<bool> DisableForwardSearch(
cl::desc("Disallow MIPS delay filler to search forward."),
cl::Hidden);
+static cl::opt<bool> DisableSuccBBSearch(
+ "disable-mips-df-succbb-search",
+ cl::init(true),
+ cl::desc("Disallow MIPS delay filler to search successor basic blocks."),
+ cl::Hidden);
+
+static cl::opt<bool> DisableBackwardSearch(
+ "disable-mips-df-backward-search",
+ cl::init(false),
+ cl::desc("Disallow MIPS delay filler to search backward."),
+ cl::Hidden);
+
namespace {
class RegDefsUses {
public:
OpenPOWER on IntegriCloud