[PATCH] D105696: [AArch64][GlobalISel] Optimise lowering for some vector types for min/max

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 05:59:31 PDT 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:173
+      .clampNumElements(0, v2s32, v4s32)
+      .clampNumElements(0, v2s64, v2s64)
       .lower();
----------------
I'm not sure you have to clamp the elements on a v2s64, as they are going to be expanded anyway.

Should it be dealing with vXi16 and vXi8 though?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105696



More information about the llvm-commits mailing list