diff options
author | Dan Gohman <gohman@apple.com> | 2011-07-05 22:01:44 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-07-05 22:01:44 +0000 |
commit | 024bb8fa07936194f13af46448246347c75b6976 (patch) | |
tree | ab727f4d16bc44862f675697c7a49f01e9e055c4 /llvm/lib | |
parent | bb5c9ae4256fffed4f08c3fc378e86ce93fe7b9e (diff) | |
download | bcm5719-llvm-024bb8fa07936194f13af46448246347c75b6976.tar.gz bcm5719-llvm-024bb8fa07936194f13af46448246347c75b6976.zip |
Remove the ObjC ARC passes from the default optimization list, and add
extension points to be used by clang.
llvm-svn: 134444
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 0255b28a49d..b1033312ca3 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -303,10 +303,6 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, if (!DisableVerify) PM.add(createVerifierPass()); - // Simplify ObjC ARC code. This is done late because it makes re-optimization - // difficult. - PM.add(createObjCARCContractPass()); - // Run loop strength reduction before anything else. if (OptLevel != CodeGenOpt::None && !DisableLSR) { PM.add(createLoopStrengthReducePass(getTargetLowering())); |