commit | 76c6ccbd4cee0637c961e32435177ab89e931fed | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Fri Jun 29 22:06:19 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Fri Jun 29 22:06:19 2012 +0000 |
tree | e777a8db1cce91c562e29acb04d30759e2844f52 | |
parent | de7266c611b37ec050efb53b73166081a98cea13 [diff] |
ARM: Clean up optimizeCompare in peephole, no functional change. Use getUniqueVRegDef. Replace a loop with existing interfaces: modifiesRegister and readsRegister. Factor out code into inline functions and simplify the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159470 91177308-0d34-0410-b5e6-96231b3b80d8