[PATCH] D71308: [CallPromotionUtils] Add tryPromoteCall.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 15:29:11 PST 2019


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added subscribers: hiraditya, Prazek, mgorny.
Herald added a project: LLVM.
yamauchi added a comment.

This is split off of D69591 <https://reviews.llvm.org/D69591>.


It attempts to devirtualize a call on alloca through vtable loads.


Repository:
  rG LLVM Github Monorepo

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.233204.patch
Type: text/x-patch
Size: 8055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191210/688fac0d/attachment.bin>


More information about the llvm-commits mailing list