[PATCH] D117689: [AArch64][SVE] Fold vselect into predicated fmul, fsub and fadd
Peter Waller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 07:27:45 PST 2022
peterwaller-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td:246
+ (vselect node:$Pg, node:$Op1, (AArch64fmul_p (AArch64ptrue 31), node:$Op1, node:$Op2))]>;
+def FADD_ZPmZ_patfrags : PatFrags<(ops node:$Pg, node:$Op1, node:$Op2), [
+ (int_aarch64_sve_fadd node:$Pg, node:$Op1, node:$Op2),
----------------
Can the PatFrags be factored into a class with two parameters to avoid stamping it out repeatedly?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117689/new/
https://reviews.llvm.org/D117689
More information about the llvm-commits
mailing list