summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-07-05 22:01:44 +0000
committerDan Gohman <gohman@apple.com>2011-07-05 22:01:44 +0000
commit024bb8fa07936194f13af46448246347c75b6976 (patch)
treeab727f4d16bc44862f675697c7a49f01e9e055c4 /llvm/lib
parentbb5c9ae4256fffed4f08c3fc378e86ce93fe7b9e (diff)
downloadbcm5719-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.cpp4
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()));
OpenPOWER on IntegriCloud