[PATCH] D46584: [Evaluator] Improve evaluation of call instruction

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 09:31:20 PDT 2018


evgeny777 created this revision.
evgeny777 added a reviewer: tejohnson.
Herald added a subscriber: mehdi_amini.

This allows evaluating calls containing bitcast instruction, which often happens when using ThinLTO. 
It's actually a replacement to https://reviews.llvm.org/D43199 and together with https://reviews.llvm.org/D43457 does the same job of optimizing out static ctors, without bothering structure type names.


https://reviews.llvm.org/D46584

Files:
  include/llvm/Transforms/Utils/Evaluator.h
  lib/Transforms/Utils/Evaluator.cpp
  test/Transforms/GlobalOpt/evaluate-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46584.145704.patch
Type: text/x-patch
Size: 5236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180508/7adec27a/attachment.bin>


More information about the llvm-commits mailing list