[PATCH] D131967: [RISCV] Correct costs for vector ceil/floor/trunc/round

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 02:26:23 PDT 2022


Miss_Grape added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:290
+   {Intrinsic::ceil, MVT::nxv8f64, 16},
+   {Intrinsic::trunc, MVT::v2f32, 8},
+   {Intrinsic::trunc, MVT::v4f32, 8},
----------------
why set 8? Isn't it 7 ???
{F24180940}


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

https://reviews.llvm.org/D131967



More information about the llvm-commits mailing list