commit | acb628b2afb4b43dd0224c393f1ff47abd3b9045 | [log] [tgz] |
---|---|---|
author | David Green <david.green@arm.com> | Fri Feb 22 12:23:31 2019 +0000 |
committer | David Green <david.green@arm.com> | Fri Feb 22 12:23:31 2019 +0000 |
tree | 223e13b3ebc8f61820963caf6736ea99f6fe8218 | |
parent | 0cc32dd4a13472702181e41fc17c8161c4999534 [diff] |
[ARM] Add some missing thumb1 opcodes to enable peephole optimisation of CMPs This adds a number of missing Thumb1 opcodes so that the peephole optimiser can remove redundant CMP instructions. Reapplying this after the first attempt broke non-thumb1 code as the t2ADDri instruction can be used with frame indices. In thumb1 we use tADDframe. Differential Revision: https://reviews.llvm.org/D57833 llvm-svn: 354667