This is an archive of the discontinued LLVM Phabricator instance.

[TailRecursionElimination] Skip debug intrinsics.
ClosedPublic

Authored by fhahn on Nov 24 2017, 6:52 AM.

Details

Summary

I think we do not need to analyze debug intrinsics here, as they should
not impact codegen. This has 2 benefits: 1) slightly less work to do and

  1. avoiding generating optimization remarks for converting calls to

debug intrinsics to tail calls, which are not really helpful for users.

Based on work by Sander de Smalen.

Diff Detail

Event Timeline

fhahn created this revision.Nov 24 2017, 6:52 AM
JDevlieghere set the repository for this revision to rL LLVM.Nov 24 2017, 7:23 AM
JDevlieghere added a project: debug-info.
aprantl accepted this revision.Nov 27 2017, 1:30 PM

Seems reasonable!

This revision is now accepted and ready to land.Nov 27 2017, 1:30 PM
davide edited edge metadata.Nov 27 2017, 1:35 PM

No objections on my side.

fhahn closed this revision.Nov 28 2017, 1:32 AM