[PATCH] D101062: [AArch64][SVE] Better utilisation of immediate forms for bitwise/arith intrinsics
Bradley Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 28 09:13:06 PDT 2021
bsmith added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:13865
+static bool isAllActivePredicate(SDValue N) {
+ // Matches AArch64DAGToDAGISel::SelectAllActivePredicate().
+ unsigned NumElts = N.getValueType().getVectorMinNumElements();
----------------
I very much dislike the blatant duplication of this function between here and ISelDAGToDAG, however I couldn't find anywhere sensible to share code between the two (and there is already a comment like this elsewhere in this file). Any pointers for a suitable place for this function would be much appreciated!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101062/new/
https://reviews.llvm.org/D101062
More information about the llvm-commits
mailing list