[LLVMdev] General questions about PassManager and the removed SimplifyLibraryCalls pass
Meador Inge
meadori at codesourcery.com
Thu Apr 10 13:48:07 PDT 2014
On 04/04/2014 09:13 PM, Daniel Liew wrote:
> 2. I recently noticed that the SimplifyLibraryCallsPass was removed
> and according to the LLVM3.4 release notes its functionality is now in
> "instruction combiner and function attribute marking passes". I was
> wondering, which function attributes passes were meant?
The "functionattrs" pass. See 'lib/Transforms/IPO/FunctionAttrs.cpp'.
> I took a look at opt's code and it seems to add the TargetLibraryInfo
> pass. Is there anything I need to do with this pass (possibly add to
> the pass manager depending on the answer to 1) to achieve the same
> transform that SimplifyLibraryCalls did?
Off the top of my head, I am not sure. If I get a moment, then I will look
into it.
--
Meador Inge
CodeSourcery / Mentor Embedded
More information about the llvm-dev
mailing list