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

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 03:31:14 PDT 2018


samparker added a comment.

I did some work for Thumb-2 last year in a similar vain during the combine phase, in PerformSHLSimplify, but this (unsurprisingly) doesn't handle lshr. I didn't find any headaches from changing the canonical form in those cases, so probably would be worth having it there.


Repository:
  rL LLVM

https://reviews.llvm.org/D49585





More information about the llvm-commits mailing list