[PATCH] D127206: [LoongArch 6/n] Perform `and` combination with a shifted mask

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 23:29:49 PDT 2022


xen0n added a comment.

It seems only the `(x >> shamt) & mask` case is handled, but not `(x & in_place_mask) >> shamt`; is this an intentional simplification? The current behavior is good though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127206



More information about the llvm-commits mailing list