Refactor the code that adds standard LLVM codegen passes into
authorDan Gohman <gohman@apple.com>
Thu, 25 Sep 2008 00:37:07 +0000 (00:37 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 25 Sep 2008 00:37:07 +0000 (00:37 +0000)
commit02dae4ba06a05d28b24b3c1b39d54de751271c95
treea9b6a64587bee5577827d31840482aa622f45edb
parentaa765b8c35aa3a5cca9681d6e3c44091d94f23d9
Refactor the code that adds standard LLVM codegen passes into
a separate function, eliminating duplication between the
add-passes-for-file and add-passes-for-machine-code code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56599 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetMachine.h
lib/CodeGen/LLVMTargetMachine.cpp