forked from OSchip/llvm-project
Rename AddReadAttrs to FunctionAttrs. This is related to Duncan's patch r61525.
llvm-svn: 61534
This commit is contained in:
parent
15a47ddf40
commit
be504e82bc
|
@ -257,7 +257,7 @@ void BackendConsumer::CreatePasses() {
|
|||
PM->add(createCFGSimplificationPass()); // Clean up after IPCP & DAE
|
||||
if (CompileOpts.UnitAtATime) {
|
||||
PM->add(createPruneEHPass()); // Remove dead EH info
|
||||
PM->add(createAddReadAttrsPass()); // Set readonly/readnone attrs
|
||||
PM->add(createFunctionAttrsPass()); // Set readonly/readnone attrs
|
||||
}
|
||||
if (CompileOpts.InlineFunctions)
|
||||
PM->add(createFunctionInliningPass()); // Inline small functions
|
||||
|
|
Loading…
Reference in New Issue