[PATCH] D48070: [Polly] Simplify the implementation of getCUDALibDeviceFunction. NFC.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 12 08:33:34 PDT 2018


Meinersbur accepted this revision.
Meinersbur added a comment.
This revision is now accepted and ready to land.

Why was there a lambda in the first place?



================
Comment at: lib/CodeGen/PPCGCodeGeneration.cpp:1413
+  if (It != IntrinsicToLibdeviceFunc.end())
+    return getCUDALibDeviceFuntion(It->second);
 
----------------
[style] I'd prefer to avoid this kind of recursion.


Repository:
  rPLO Polly

https://reviews.llvm.org/D48070





More information about the llvm-commits mailing list