[PATCH] D57833: [ARM] Add some missing thumb1 opcodes to enable peephole optimisation of CMPs

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 6 11:29:55 PST 2019


dmgreen created this revision.
dmgreen added reviewers: efriedma, spatel, SjoerdMeijer.
Herald added subscribers: kristof.beyls, javed.absar.

Noticed when codegen prepare started adding more llvm.uadd.with.overflow's, this follows
the same code path as Thumb2, removing redundant CMP's in the peephole optimiser.


https://reviews.llvm.org/D57833

Files:
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  test/CodeGen/Thumb/peephole-cmp.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57833.185597.patch
Type: text/x-patch
Size: 5552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190206/3e4dfebb/attachment-0001.bin>


More information about the llvm-commits mailing list