[PATCH] D45429: [AArch64][AsmParser] Make parse function for VectorLists generic to other vector types.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 04:09:21 PDT 2018
sdesmalen added inline comments.
================
Comment at: lib/Target/AArch64/AArch64RegisterInfo.td:497
let PredicateMethod
- = "isTypedVectorList<" # count # ", " # lanes # ", '" # kind # "'>";
+ = "isTypedVectorList<RegKind::NeonVector, " # count # ", " # lanes # ", " # eltsize # ">";
let RenderMethod = "addVectorList" # regsize # "Operands<" # count # ">";
----------------
rengolin wrote:
> I get it, this will *only* work for Neon vectors because `eltsize` is fixed.
I guess you mean 'vectorKind' (e.g. RegKind::NeonVector)?
'eltsize' is different for the different suffixes (b, h, s, d).
https://reviews.llvm.org/D45429
More information about the llvm-commits
mailing list