diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2012-05-30 00:17:12 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2012-05-30 00:17:12 +0000 |
| commit | 33e5188c270fbd5ccce4ea4656f75c95ec68cfaf (patch) | |
| tree | eebfb851efa47d7d5f7ecd7054a2fba96afdf999 /llvm/tools | |
| parent | 45601d1742d159c261f7b255e00e72e55805b792 (diff) | |
| download | bcm5719-llvm-33e5188c270fbd5ccce4ea4656f75c95ec68cfaf.tar.gz bcm5719-llvm-33e5188c270fbd5ccce4ea4656f75c95ec68cfaf.zip | |
Add an insertPass API to TargetPassConfig. <rdar://problem/11498613>
Besides adding the new insertPass function, this patch uses it to
enhance the existing -print-machineinstrs so that the MachineInstrs
after a specific pass can be printed.
Patch by Bin Zeng!
llvm-svn: 157655
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llc/llc.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 9f4ab70ba70..35275d79187 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -146,11 +146,6 @@ EnableFPMAD("enable-fp-mad", cl::init(false)); static cl::opt<bool> -PrintCode("print-machineinstrs", - cl::desc("Print generated machine code"), - cl::init(false)); - -static cl::opt<bool> DisableFPElim("disable-fp-elim", cl::desc("Disable frame pointer elimination optimization"), cl::init(false)); @@ -403,7 +398,6 @@ int main(int argc, char **argv) { TargetOptions Options; Options.LessPreciseFPMADOption = EnableFPMAD; - Options.PrintMachineCode = PrintCode; Options.NoFramePointerElim = DisableFPElim; Options.NoFramePointerElimNonLeaf = DisableFPElimNonLeaf; Options.NoExcessFPPrecision = DisableExcessPrecision; |

