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 | 6e1b8128505711276a87e96f6bffb818b435cbd5 (patch) | |
tree | 6de88116fe82f5718ead015ceb088c9e7515dc08 /tools/llc/llc.cpp | |
parent | 209cdc2999208e9783349e970bd96fc37557fd97 (diff) |
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r-- | tools/llc/llc.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 9f4ab70ba7..35275d7918 100644 --- a/tools/llc/llc.cpp +++ b/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; |