[llvm] [RISCV][CostModel] Estimate cost of Extract/InsertElement with non-constant index when vector instructions are not available (PR #67334)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 10:25:28 PDT 2023


https://github.com/preames commented:

Ouch, good catch.  Minor review comments inline, this looks straight forward and likely to converge quickly.

p.s. Mostly for my own later self... I don't think this interacts with build_vector or explode_vector costing and/or SLP because those cases should only involve constant indices.  

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


More information about the llvm-commits mailing list