[llvm] [RISCV][CostModel] Updates reduction and shuffle cost (PR #77342)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 20:54:46 PST 2024


================
@@ -84,8 +84,14 @@ RISCVTTIImpl::getRISCVInstructionCost(ArrayRef<unsigned> OpCodes, MVT VT,
       Cost += VL;
       break;
     }
+    case RISCV::VMV_X_S:
----------------
wangpc-pp wrote:

These four cases can be merged.

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


More information about the llvm-commits mailing list