[PATCH] D100916: [AArch64][GlobalISel] Mark some vector G_ABS cases as legal

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 17:38:23 PDT 2021


aemerson accepted this revision.
aemerson added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:692
+      .lowerIf(isScalar(0))
+      .legalFor({v8s8, v16s8, v4s16, v8s16, v2s32, v4s32, v2s64});
 
----------------
You can use the `PackedVectorAllTypeList` variable for this I think.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100916/new/

https://reviews.llvm.org/D100916



More information about the llvm-commits mailing list