Revert "Very initial ARC optimizer implementation."

This reverts commit r12264, which was breaking tests for me

Swift SVN r12270
This commit is contained in:
Dave Abrahams
2014-01-14 02:35:32 +00:00
parent 5b99962f1e
commit 9f99f02b24
6 changed files with 1 additions and 473 deletions

View File

@@ -45,8 +45,7 @@ enum class PassKind {
SimplifyCFG,
PerformanceInlining,
LowerAggregateInstrs,
SROA,
ARCOpts,
SROA
};
static llvm::cl::opt<std::string>
@@ -119,10 +118,6 @@ Passes(llvm::cl::desc("Passes:"),
"sroa",
"Perform SIL scalar replacement of "
"aggregates."),
clEnumValN(PassKind::ARCOpts,
"arc-opts",
"Perform automatic reference counting "
"optimizations."),
clEnumValEnd));
static llvm::cl::opt<bool>
@@ -248,9 +243,6 @@ int main(int argc, char **argv) {
case PassKind::SROA:
performSILSROA(CI.getSILModule());
break;
case PassKind::ARCOpts:
performSILARCOpts(CI.getSILModule());
break;
}
// Verify the module after every pass.