commit | a402bd1ba7a881c54bb5592c939a70907fa2e14c | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Thu Apr 13 20:39:37 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Thu Apr 13 20:39:37 2017 +0000 |
tree | f471268bebee4ce64e3bd0321a2aba1afa3fd74f | |
parent | 77643b4d4f9a774888216bfcc074bad38c25f816 [diff] |
[ValueTracking] Remove duplicate call to computeKnownBits for the operands of Select. We call it unconditionally on the operands of the select. Then decide if its a min/max and call it on the min/max operands or on the select operands again. Either of those second calls will overwrite the results of the initial call so we can just delete the first call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300256 91177308-0d34-0410-b5e6-96231b3b80d8