[llvm-commits] [llvm] r145559 - in /llvm/trunk: include/llvm/Analysis/ lib/Analysis/ lib/Transforms/Scalar/ lib/Transforms/Utils/

Duncan Sands baldrick at free.fr
Thu Dec 1 00:34:35 PST 2011


Hi Chad,

> Propagate TargetLibraryInfo throughout ConstantFolding.cpp and
> InstructionSimplify.cpp.  Other fixups as needed.
> Part of rdar://10500969

rather than doing it this way (i.e. passing it all over the compiler), how about
instead having the places that need it use getAnalysisIfAvailable to obtain it.

Ciao, Duncan.



More information about the llvm-commits mailing list