Essentially, do not treat call and musttail call as the same thing.
As a drive-by, fold CallInst and InvokeInst handling together using the
CallSite helper.
Paths
| Differential D56815
[FunctionComparator] Consider tail call kinds ClosedPublic Authored by vsk on Jan 16 2019, 3:13 PM.
Details Summary Essentially, do not treat call and musttail call as the same thing. As a drive-by, fold CallInst and InvokeInst handling together using the
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 16 2019, 3:17 PM Closed by commit rL351405: [FunctionComparator] Consider tail call kinds (authored by vedantk). · Explain WhyJan 16 2019, 4:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 182186 llvm/trunk/lib/Transforms/Utils/FunctionComparator.cpp
llvm/trunk/test/Transforms/MergeFunc/tailcall.ll
|