Commit 72465fcf authored by Laurent Carlier's avatar Laurent Carlier Committed by Tom Stellard

clover: fix building with llvm-3.4 since rev191922
parent e58dd465
......@@ -278,8 +278,12 @@ namespace {
llvm::Function *kernel = *I;
#if HAVE_LLVM < 0x0304
std::vector<const char*> dso_list;
PM.add(llvm::createInternalizePass(export_list, dso_list));
// Run link time optimizations
Builder.OptLevel = 2;
Builder.populateLTOPassManager(PM, false, true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment