[PATCH] D77891: [CallSite Removal][CodeGenPrepare] permit optimizations for CallBrInst
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 12:53:59 PDT 2020
nickdesaulniers created this revision.
nickdesaulniers added reviewers: craig.topper, chandlerc, george.burgess.iv.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
nickdesaulniers planned changes to this revision.
nickdesaulniers added a comment.
WIP: I'd like to clean up TLI and FortifiedLibCallSimplifier first, which will simplify this patch. Posting it early for review.
Craig noticed that some of the optimizations here for inline assembly
are handled for CallInsts but not CallBrInsts.
Since CallInst and CallBrInst now share the same base CallBase class,
use that instead. This unlocks these optimizations for CallBrInst.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77891
Files:
llvm/lib/CodeGen/CodeGenPrepare.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77891.256634.patch
Type: text/x-patch
Size: 13607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200410/5cdafa29/attachment.bin>
More information about the llvm-commits
mailing list