[PATCH] D117741: [RISCV] Set CostPerUse to 1 iff RVC is enabled

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 21:21:14 PST 2022


jrtc27 added a comment.

This scheme seems rather inflexible. We can get away with it currently since the default behaviour of zero-filling CostPerUse elements out to the maximum list size works in every case, but I could see there being issues in future where you end up needing to be extremely verbose to avoid such behaviour.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117741



More information about the llvm-commits mailing list