[PATCH] D90693: [musttail] Unify musttail call preceding return checking
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 3 10:05:06 PST 2020
lxfind created this revision.
lxfind added reviewers: wenlei, rnk.
Herald added subscribers: llvm-commits, modimo, hiraditya.
Herald added a project: LLVM.
lxfind requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90693
Files:
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
llvm/lib/Transforms/Utils/EscapeEnumerator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90693.302607.patch
Type: text/x-patch
Size: 4840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/29238f70/attachment.bin>
More information about the llvm-commits
mailing list