[llvm] [RISCV][CostModel] Estimate cost of llvm.vector.reduce.fmaximum/fminimum (PR #80697)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 08:19:28 PST 2024


================
@@ -90,6 +90,7 @@ RISCVTTIImpl::getRISCVInstructionCost(ArrayRef<unsigned> OpCodes, MVT VT,
     case RISCV::VFMV_S_F:
     case RISCV::VMNAND_MM:
     case RISCV::VCPOP_M:
+    case RISCV::VMV1R_V:
----------------
arcbbb wrote:

Thank you for pointing it out! I agree that it should default to zero for those micro-architectures. Fixed.

https://github.com/llvm/llvm-project/pull/80697


More information about the llvm-commits mailing list