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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 11:53:32 PDT 2018


efriedma added a comment.

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?


Repository:
  rL LLVM

https://reviews.llvm.org/D49585





More information about the llvm-commits mailing list