search for: openradar

Displaying 2 results from an estimated 2 matches for "openradar".

Did you mean: ogdenradar
2020 May 08
1
Noncapture use of locals disabling TailRecursionElimination
...Thanks for the example! "PR962" refers to "problem report 962" or https://llvm.org/PR962 . "rdar" is Apple's "radar" bug tracking system, these are generally internal to their company but sometimes they're available in whole or in part on https://openradar.appspot.com/ . Nick > Specifically, I have been looking into an issue where Clang cannot TCE > the following code: > > class Foo { > public: > __attribute__((noinline)) > ~Foo() {} > }; > > void callee() { > Foo f; > } > > void funcRecurse() { &g...
2020 May 08
1
Noncapture use of locals disabling TailRecursionElimination
On 2020-05-08 1:34 p.m., Xun Li wrote: > Hi, > > I was looking into the implementation of TailRecursionElimination, and > noticed that we have the constrain that if any call uses a local, even > though it doesn't capture the local, it would still prohibit TCE. This > contain seems unnecessary and overly limiting? I think it's a necessary limitation. The idea is that