[PATCH] D145678: [RISCV] Model interleave and deinterleave shuffles in cost model

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 04:24:53 PST 2023


luke added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:340
+      //   vwaddu.vv	v10, v8, v9
+      //   li		a0, -1                   (ignored)
+      //   vwmaccu.vx	v10, a0, v9
----------------
I excluded the `li` here since in loops it's an invariant that's hoisted out. Do we still need to be pessimistic and include it here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145678



More information about the llvm-commits mailing list