[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 10:39:33 PDT 2018


lebedev.ri added a comment.

Note that DAGCombine already does such a transform, but not in the case of constants (https://reviews.llvm.org/D48768)
Maybe this should be moved there, and exposed as a [yet another] hook.


Repository:
  rL LLVM

https://reviews.llvm.org/D49585





More information about the llvm-commits mailing list