[PATCH] D126060: [RISCV] Add basic cost modelling for fixed length vector arithmetic
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 21:27:45 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/test/Analysis/CostModel/RISCV/arith-fp.ll:21
+; RISCV32-LABEL: 'fadd'
+; RISCV32-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %F16 = fadd half undef, undef
+; RISCV32-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4F16 = fadd <4 x half> undef, undef
----------------
Should you add `+experimental-zvfh`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126060/new/
https://reviews.llvm.org/D126060
More information about the llvm-commits
mailing list