[PATCH] D26270: Avoid tail recursion elimination across calls with operand bundles

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 13:34:56 PST 2016


efriedma added inline comments.


================
Comment at: llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp:259
         }
+        SafeToTail &= CI->hasOperandBundles();
         if (SafeToTail) {
----------------
If CI->hasOperandBundles() is true, IsNoTail Is true, so this code is never reached.  Therefore, this is equivalent to "SafeToTail = false;".


Repository:
  rL LLVM

https://reviews.llvm.org/D26270





More information about the llvm-commits mailing list