[PATCH] D71308: [CallPromotionUtils] Add tryPromoteCall.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 17:21:14 PST 2020
yamauchi updated this revision to Diff 241851.
yamauchi marked an inline comment as done.
yamauchi added a comment.
Address comment.
Add negative tests.
Also add a new test is derived from
clang/test/CodeGenCXX/member-function-pointer-calls.cpp which this change
combined with D69591 <https://reviews.llvm.org/D69591> enables nice inlining/simplification.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71308/new/
https://reviews.llvm.org/D71308
Files:
llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h
llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
llvm/unittests/Transforms/Utils/CMakeLists.txt
llvm/unittests/Transforms/Utils/CallPromotionUtilsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71308.241851.patch
Type: text/x-patch
Size: 17276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/0d2bad12/attachment-0001.bin>
More information about the llvm-commits
mailing list