commit | 1f504230b9860bd739ef4e6b5ace45fd82623d75 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Fri Jan 19 17:46:27 2018 +0000 |
committer | Joel Galenson <jgalenson@google.com> | Fri Jan 19 17:46:27 2018 +0000 |
tree | e0af67307e093a3317834ebe51cdc6aa77bdc4b2 | |
parent | 667e26447a89712bf305d82d4461afb8f6f1ab50 [diff] |
[ARM] Fix perf regression in compare optimization. Fix a performance regression caused by r322737. While trying to make it easier to replace compares with existing adds and subtracts, I accidentally stopped it from doing so in some cases. This should fix that. I'm also fixing another potential bug in that commit. Differential Revision: https://reviews.llvm.org/D42263 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322972 91177308-0d34-0410-b5e6-96231b3b80d8