[PATCH] D98934: [SVE] Add instruction cost for fptrunc in loops

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 04:16:09 PDT 2021


david-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:461
+      // Complex, from v2f64: legal type is v2i32, 1 narrowing => ~2.
+      {ISD::FP_TO_SINT, MVT::v2i32, MVT::v2f64, 2},
+      {ISD::FP_TO_SINT, MVT::v2i16, MVT::v2f64, 2},
----------------
nasherm wrote:
> sdesmalen wrote:
> > Please avoid changing the formatting of the table, because that makes this diff unnecessarily big.
> I believe this was a clang-format change.
Hi @nasherm, yeah unfortunately it does happen on my patches too. Typically we try to avoid reformatting large tables like this or large switch-case statements that have a pre-existing format.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98934



More information about the llvm-commits mailing list