[PATCH] D32641: [EarlyCSE] Teach EarlyCSE to work with non-instruction values

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 03:57:30 PDT 2017


mkazantsev created this revision.

Conditional branching, intrinsics experimental_guard and assume may state that their arguments are true/false.
These values are not always instructions. For example, it can be method parameters. This patch allows to store known values (true or false, in particular) for such values.


https://reviews.llvm.org/D32641

Files:
  lib/Transforms/Scalar/EarlyCSE.cpp
  test/Transforms/EarlyCSE/guards.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32641.97077.patch
Type: text/x-patch
Size: 6624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170428/f55aca98/attachment.bin>


More information about the llvm-commits mailing list