[PATCH] D24315: [CGP] Be less conservative about tail-duplicating a ret to allow tail calls

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 16:31:16 PDT 2016


iteratee added inline comments.

================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:2008
@@ -2013,2 +2007,3 @@
   SmallVector<CallInst*, 4> TailCalls;
+  bool AllowDifferingSizes;
   if (PN) {
----------------
It's kind of awkward to pass this as an output parameter and not use it.
Would it be better to make it a pointer argument with a default value of nullptr?


https://reviews.llvm.org/D24315





More information about the llvm-commits mailing list