[PATCH] D34901: [ValueTracking] Support icmps fed by 'and' and 'or'

Chad Rosier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 11:55:07 PDT 2017


mcrosier created this revision.

This patch adds support for handling some forms of ands and ors in ValueTracking's isImpliedCondition API.  The solves PR3361.

Chad


https://reviews.llvm.org/D34901

Files:
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/ValueTracking.cpp
  test/Transforms/InstCombine/select-implied.ll
  test/Transforms/SimplifyCFG/implied-and-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34901.104903.patch
Type: text/x-patch
Size: 8950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/81d6c8f7/attachment.bin>


More information about the llvm-commits mailing list