diff options
author | David Green <david.green@arm.com> | 2019-02-22 12:23:31 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2019-02-22 12:23:31 +0000 |
commit | acb628b2afb4b43dd0224c393f1ff47abd3b9045 (patch) | |
tree | 223e13b3ebc8f61820963caf6736ea99f6fe8218 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 0cc32dd4a13472702181e41fc17c8161c4999534 (diff) | |
download | llvm-acb628b2afb4b43dd0224c393f1ff47abd3b9045.zip llvm-acb628b2afb4b43dd0224c393f1ff47abd3b9045.tar.gz llvm-acb628b2afb4b43dd0224c393f1ff47abd3b9045.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions