This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Add debug location to new caller.
ClosedPublic

Authored by fhahn on Dec 20 2017, 3:43 AM.

Details

Summary

We already add attributes, calling convention and tail call info, so I
think it would make sense to also preserve the debug location.

Diff Detail

Event Timeline

fhahn created this revision.Dec 20 2017, 3:43 AM
aprantl accepted this revision.Dec 20 2017, 8:30 AM

This is getting rid of a trampoline so attaching the outer call's debug locations is correct. Thanks!

This revision is now accepted and ready to land.Dec 20 2017, 8:30 AM
fhahn closed this revision.Dec 20 2017, 9:19 AM

Committed in https://reviews.llvm.org/rL321191

Unfortunately I missed the last digit in the differential URL.