[PATCH] Disable passes on optnone functions

Robinson, Paul Paul_Robinson at playstation.sony.com
Mon Jan 27 16:07:07 PST 2014


Ping....

I tried to ping this from inside Phab but I'm not seeing the
notice show up on llvm-commits.  Somehow Phab and I just don't
get along very well.
--paulr

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Paul Robinson
> Sent: Tuesday, January 14, 2014 4:01 PM
> To: llvm-commits at cs.uiuc.edu
> Subject: Re: [PATCH] Disable passes on optnone functions
> 
> probinson added you to the CC list for the revision "Disable passes on
> optnone functions".
> 
> Hi chandlerc,
> 
> Functions marked 'optnone' should not be optimized.  Per Chandler's
> request, we avoided adding new attributes that Pass Manager would have
> to be aware of, and had each pass individually ignore 'optnone'
> functions.
> 
> http://llvm-reviews.chandlerc.com/D2369
> 
> Files:
>   lib/IR/LegacyPassManager.cpp
>   lib/Analysis/LoopPass.cpp
>   lib/Transforms/Scalar/JumpThreading.cpp
>   lib/Transforms/Scalar/Reassociate.cpp
>   lib/Transforms/Scalar/SimplifyCFGPass.cpp
>   lib/Transforms/Scalar/DeadStoreElimination.cpp
>   lib/Transforms/Scalar/SROA.cpp
>   lib/Transforms/Scalar/EarlyCSE.cpp
>   lib/Transforms/Scalar/ADCE.cpp
>   lib/Transforms/Scalar/MemCpyOptimizer.cpp
>   lib/Transforms/Scalar/TailRecursionElimination.cpp
>   lib/Transforms/Scalar/ScalarReplAggregates.cpp
>   lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
>   lib/Transforms/Scalar/SCCP.cpp
>   lib/Transforms/Scalar/GVN.cpp
>   lib/Transforms/Scalar/DCE.cpp
>   lib/Transforms/InstCombine/InstructionCombining.cpp
>   lib/Transforms/Vectorize/SLPVectorizer.cpp
>   lib/Transforms/Utils/LowerExpectIntrinsic.cpp
>   lib/CodeGen/IfConversion.cpp
>   lib/CodeGen/MachineLICM.cpp
>   lib/CodeGen/PeepholeOptimizer.cpp
>   lib/CodeGen/ProcessImplicitDefs.cpp
>   lib/CodeGen/TailDuplication.cpp
>   lib/CodeGen/EarlyIfConversion.cpp
>   lib/CodeGen/DeadMachineInstructionElim.cpp
>   lib/CodeGen/BranchFolding.cpp
>   lib/CodeGen/OptimizePHIs.cpp
>   lib/CodeGen/MachineSink.cpp
>   lib/CodeGen/MachineCSE.cpp
>   lib/CodeGen/MachineCopyPropagation.cpp
>   test/Transforms/FunctionAttrs/optnone.ll




More information about the llvm-commits mailing list