[PATCH] D142065: [SVE] Fix incorrect lowering of predicate permute builtins.
Peter Waller via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 07:41:33 PST 2023
peterwaller-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:6361
+ def : SVE_2_Op_Pat<nxv4i1, ir_op, nxv4i1, nxv4i1, !cast<Instruction>(NAME # _S)>;
+ def : SVE_2_Op_Pat<nxv2i1, ir_op, nxv2i1, nxv2i1, !cast<Instruction>(NAME # _D)>;
}
----------------
Out of interest, is there a good reason to handle the nxv16 pattern case differently in the `I` multiclass args? Written this way at a glance it looks like it is missing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142065/new/
https://reviews.llvm.org/D142065
More information about the cfe-commits
mailing list