[llvm] [RISCV][CostModel][NFC] Add getRISCVInstructionCost() to TTI for Cost… (PR #73651)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 00:40:39 PST 2023


================
@@ -48,6 +48,25 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
   /// actual target hardware.
   unsigned getEstimatedVLFor(VectorType *Ty);
 
+  enum class RISCVInstruction {
+    VRGATHER_VV,
----------------
arcbbb wrote:

Sounds good, I have updated based on it.

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


More information about the llvm-commits mailing list