[PM] Update Clang for LLVM's r278896 which re-organized a header.

(sorry this didn't get landed closer in time...)

llvm-svn: 278897
This commit is contained in:
Chandler Carruth 2016-08-17 03:09:11 +00:00
parent 67fc52f067
commit b72c19f1a6
1 changed files with 3 additions and 2 deletions

View File

@ -42,6 +42,7 @@
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/IPO/AlwaysInliner.h"
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/Transforms/ObjCARC.h"
@ -318,9 +319,9 @@ void EmitAssemblyHelper::CreatePasses(legacy::PassManager &MPM,
// Respect always_inline.
if (OptLevel == 0)
// Do not insert lifetime intrinsics at -O0.
PMBuilder.Inliner = createAlwaysInlinerPass(false);
PMBuilder.Inliner = createAlwaysInlinerLegacyPass(false);
else
PMBuilder.Inliner = createAlwaysInlinerPass();
PMBuilder.Inliner = createAlwaysInlinerLegacyPass();
break;
}