[PATCH] D121355: [SelectionDAG] Fold shift constants into cmp

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 20:02:29 PDT 2022


bcl5980 added a comment.

In D121355#3384564 <https://reviews.llvm.org/D121355#3384564>, @Allen wrote:

> this is similar to D121449 <https://reviews.llvm.org/D121449>, so I'll abandon it that commit land

It looks this code works also on arm backend, what I do is only on aarch64.
And D121449 <https://reviews.llvm.org/D121449> optimize more cases (arm64-xaluo.ll)
So I think both of them are useful.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121355/new/

https://reviews.llvm.org/D121355



More information about the llvm-commits mailing list