diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-01 01:02:36 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-01 01:02:36 +0000 |
commit | b8bc8cc3b0e0d2811b3326d49835e8a1edb1ef61 (patch) | |
tree | 69d34620b76a1dd425edf018e93d7f3ee2dad942 | |
parent | e760675b0ed8d7adcc2c991a2d645d2b538a5ab3 (diff) | |
download | external_llvm-b8bc8cc3b0e0d2811b3326d49835e8a1edb1ef61.zip external_llvm-b8bc8cc3b0e0d2811b3326d49835e8a1edb1ef61.tar.gz external_llvm-b8bc8cc3b0e0d2811b3326d49835e8a1edb1ef61.tar.bz2 |
[mips] Add options to disable searching backward and in successor blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176321 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Mips/MipsDelaySlotFiller.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index 2823175..bd25f42 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/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: |