This changes the TailRecursionElimination pass to use
the new OptimizationRemarkEmitter API available during
function passes.
Details
- Reviewers
anemet
Diff Detail
- Build Status
Buildable 8382 Build 8382: arc lint + arc unit
Event Timeline
This closes https://bugs.llvm.org/show_bug.cgi?id=33788
This commit almost certainly needs work, I'm new to the llvm codebase. I also don't fully understand arc, I think I have the right lists subscribed and have asked for reviews from the right people, but I'm not sure.
I have a new version of the patch with tests on my work machine. @lenary, if you want to work on this, I'm fine with it.
I have just discovered that I have a failing test, in test/Other/new-pm-thinlto-defaults.ll Yours will probably fail there too.
@davide I'll defer to you and your patch on this, given you have comments etc. No worries from me about my duplicated effort.
OK. FWIW, if you want to work on any other pass conversion you may want to assign the PR to you to avoid duplication (I was sloppy in this regard, but hey, I didn't think somebody else was interested otherwise I wouldn't have started :)
Also, you may want to subscribe to the llvm-commits mailing list because phabricator reviews mail are sent there.