[PATCH] D45429: [AArch64][AsmParser] Make parse function for VectorLists generic to other vector types.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 06:22:18 PDT 2018


rengolin accepted this revision.
rengolin added a comment.
This revision is now accepted and ready to land.

Mechanical update, looks good, thanks!



================
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 # ">";
----------------
I get it, this will *only* work for Neon vectors because `eltsize` is fixed.


https://reviews.llvm.org/D45429





More information about the llvm-commits mailing list