[llvm-commits] [llvm] r64300 - in /llvm/trunk: lib/Analysis/IPA/CallGraphSCCPass.cpp test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll

Duncan Sands baldrick at free.fr
Wed Feb 11 12:31:06 PST 2009


Hi Nick,

> I think you should just use CG.getModule() instead of passing the Module 
> around.

well, ok.

> > +; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis | grep nocapture | count 2
> > +; Check that nocapture attributes are added when run after an SCC pass.
> 
> How about just '-inline -simplify-libcalls'? -std-compile-opts is slow 
> enough that it should be avoided whenever possible.

I wanted to check that the calling function also got the nocapture attribute.
I guess -functionattrs -simplify-libcalls would do the trick.

Ciao,

Duncan.



More information about the llvm-commits mailing list