commit | e1c6ddcf64d7ed21254e21af58384161f1aaae90 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Thu Apr 13 19:04:45 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Thu Apr 13 19:04:45 2017 +0000 |
tree | fdda4d1dd18dcfd1dc7f4e64090d93e59f021fd9 | |
parent | 0bd00d7d97b7327f5e34149fad571a3926448767 [diff] |
[ValueTracking] Prevent a call to computeKnownBits if we already know the state of the bit we would calculate. Also reuse a temporary APInt instead of creating a new one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300239 91177308-0d34-0410-b5e6-96231b3b80d8