[PATCH] D100871: [COST][AARCH64] Improve cost of reverse shuffles for AArch64.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 12:59:59 PDT 2021


ABataev added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1483
       { TTI::SK_PermuteSingleSrc, MVT::v2f64, 1 }, // mov.
+      // The cost of reverse is just copied from PermuteSingleSrc.
+      { TTI::SK_Reverse, MVT::v2i32, 1 }, // mov.
----------------
dmgreen wrote:
> This can say something like "Reverse can are lowered with `rev`.
Ok,will add


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100871



More information about the llvm-commits mailing list