[PATCH] D125607: [DAG] Fold (shl (srl x, c), c) -> and(x, m) even if srl has other uses

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 02:43:09 PDT 2022


dmgreen added a comment.

Do you know what makes the AArch64::shouldFoldConstantShiftPairToMask necessary? Is it just something about those tests, or something fundamental to the architecture?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125607



More information about the llvm-commits mailing list