[polly] r302618 - Update Polly for LLVM API change r302571 that removed varargs functions
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 19:39:35 PDT 2017
Author: chandlerc
Date: Tue May 9 21:39:35 2017
New Revision: 302618
URL: http://llvm.org/viewvc/llvm-project?rev=302618&view=rev
Log:
Update Polly for LLVM API change r302571 that removed varargs functions
with a nullptr sentinel in favor of nicely typed variadic templates.
Modified:
polly/trunk/lib/CodeGen/PerfMonitor.cpp
Modified: polly/trunk/lib/CodeGen/PerfMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PerfMonitor.cpp?rev=302618&r1=302617&r2=302618&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PerfMonitor.cpp (original)
+++ polly/trunk/lib/CodeGen/PerfMonitor.cpp Tue May 9 21:39:35 2017
@@ -44,11 +44,11 @@ void PerfMonitor::addToGlobalConstructor
}
StructType *ST = StructType::get(Builder.getInt32Ty(), Fn->getType(),
- Builder.getInt8PtrTy(), nullptr);
+ Builder.getInt8PtrTy());
V.push_back(ConstantStruct::get(
ST, Builder.getInt32(10), Fn,
- ConstantPointerNull::get(Builder.getInt8PtrTy()), nullptr));
+ ConstantPointerNull::get(Builder.getInt8PtrTy())));
ArrayType *Ty = ArrayType::get(ST, V.size());
GV = new GlobalVariable(*M, Ty, true, GlobalValue::AppendingLinkage,
More information about the llvm-commits
mailing list