[PATCH] D142456: [AArch64][CostModel]: Add costs for zero/sign extend.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 05:24:58 PST 2023


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:2073
+    { ISD::SIGN_EXTEND, MVT::nxv16i64, MVT::nxv16i8, 28},
   };
 
----------------
It's probably also worth adding cases for extending:
  nxv8i16 -> nxv8i32
  nxv8i16 -> nxv8i64
  nxv4i32 -> nxv4i64


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142456



More information about the llvm-commits mailing list