commit | f8b5847bc420e40a9b7fbdd24cd9f946059345a9 | [log] [tgz] |
---|---|---|
author | Gerolf Hoflehner <ghoflehner@apple.com> | Wed Oct 08 06:42:19 2014 +0000 |
committer | Gerolf Hoflehner <ghoflehner@apple.com> | Wed Oct 08 06:42:19 2014 +0000 |
tree | 78168c6bef7d02858b7b6cfe08f4ebd227fb458f | |
parent | 1fa70c99dc9f357713be8a2127ac7812cee89c84 [diff] |
[InstCombine] re-commit r218721 with fix for pr21199 The icmp-select-icmp optimization targets select-icmp.eq only. This is now ensured by testing the branch predicate explictly. This commit also includes the test case for pr21199. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219282 91177308-0d34-0410-b5e6-96231b3b80d8