| commit | b7dfbb40a3fd9491c0188eca0ed2af66fa5ef44f | [log] [tgz] |
|---|---|---|
| author | Chad Rosier <mcrosier@codeaurora.org> | Tue Apr 19 17:19:14 2016 +0000 |
| committer | Chad Rosier <mcrosier@codeaurora.org> | Tue Apr 19 17:19:14 2016 +0000 |
| tree | 16244dfe2289ef44c3491a20a63af0f9516cfaa5 | |
| parent | 79e096dbaf974a775e72181d748c4e7c3e659047 [diff] |
[ValueTracking] Improve isImpliedCondition for conditions with matching operands.
This patch improves SimplifyCFG to catch cases like:
if (a < b) {
if (a > b) <- known to be false
unreachable;
}
Phabricator Revision: http://reviews.llvm.org/D18905
llvm-svn: 266767