Update llvm (#563)
* All LoadInst constructors require a type now
* InlineFunction only takes a CallBase reference now
diff --git a/lib/ClusterPodKernelArgumentsPass.cpp b/lib/ClusterPodKernelArgumentsPass.cpp
index 790d7d5..04d24b4 100644
--- a/lib/ClusterPodKernelArgumentsPass.cpp
+++ b/lib/ClusterPodKernelArgumentsPass.cpp
@@ -359,7 +359,7 @@
// Inline the inner function. It's cleaner to do this.
for (CallInst *C : CallList) {
InlineFunctionInfo info;
- Changed |= InlineFunction(C, info).isSuccess();
+ Changed |= InlineFunction(*C, info).isSuccess();
}
return Changed;