[PATCH] D32482: [EarlyCSE] Mark the condition of assume intrinsic as true

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 02:05:07 PDT 2017


mkazantsev created this revision.

EarlyCSE should not just ignore assumes. It should use the fact that its condition is true for all dominated instructions.


https://reviews.llvm.org/D32482

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32482.96525.patch
Type: text/x-patch
Size: 5473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170425/2e7a2d27/attachment.bin>


More information about the llvm-commits mailing list