There is already an API in BasciBlock that checks and returns the musttail call if it precedes the return instruction.
Use it instead of manually checking in each place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D90693
[musttail] Unify musttail call preceding return checking ClosedPublic Authored by lxfind on Nov 3 2020, 10:05 AM.
Details Summary There is already an API in BasciBlock that checks and returns the musttail call if it precedes the return instruction.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 3 2020, 10:13 AM This revision was landed with ongoing or failed builds.Nov 3 2020, 11:40 AM Closed by commit rG7f34aca083b5: [musttail] Unify musttail call preceding return checking (authored by lxfind). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 302643 llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
llvm/lib/Transforms/Utils/EscapeEnumerator.cpp
|