[PATCH] D49585: [ARM] Prefer lsls+lsrs over lsls+ands or lsrs+ands in Thumb1.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 23:16:15 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D49585#1172177, @efriedma wrote:

> I don't think this makes sense for other targets... other targets generally have an and-with-immediate instruction, and in that case this transform saves zero instructions.  Or do you have some specific target in mind?


I don't have any specific target in mind, but this is pretty generic, thus i suggested it.


Repository:
  rL LLVM

https://reviews.llvm.org/D49585





More information about the llvm-commits mailing list