summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2018-06-07 07:50:55 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2018-06-07 07:50:55 +0000
commit30c5e4ad35101f88b50bab66bd57ffc66f8a7664 (patch)
tree9b860fccf162cd600269773e4e327715f10a7775 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent083a0c16211f690e34b1d97162c7168d4efbc140 (diff)
downloadbcm5719-llvm-30c5e4ad35101f88b50bab66bd57ffc66f8a7664.tar.gz
bcm5719-llvm-30c5e4ad35101f88b50bab66bd57ffc66f8a7664.zip
Fix a missing lambda return type that tripped the builders
llvm-svn: 334166
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index acc8ef0e13c..40886de29d7 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -1408,7 +1408,7 @@ const std::map<std::string, std::string> IntrinsicToLibdeviceFunc = {
///
/// Return "" if we are not compiling for CUDA.
std::string getCUDALibDeviceFuntion(Function *F) {
- const std::string FnName = [&] {
+ auto FnName = [&] () -> const std::string {
auto It = IntrinsicToLibdeviceFunc.find(F->getName());
if (It != IntrinsicToLibdeviceFunc.end())
return It->second;
OpenPOWER on IntegriCloud