[PATCH] D118147: [AArch64][SVE] Folds VSELECT if the predicate is all active.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 07:37:03 PST 2022


david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.

LGTM! Thanks for making the changes @sdesmalen.



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:15091
+static bool isAllInactivePredicate(SDValue N) {
+  unsigned NumElts = N.getValueType().getVectorMinNumElements();
+
----------------
nit: Could you delete this before merging as I think it's unused?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118147



More information about the llvm-commits mailing list