[PATCH] D117741: [RISCV] Set CostPerUse to 1 iff RVC is enabled
    Wang Pengcheng via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jan 19 23:11:10 PST 2022
    
    
  
pcwang-thead added a comment.
In D117741#3257026 <https://reviews.llvm.org/D117741#3257026>, @jrtc27 wrote:
> 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.
Correct me if I am wrong, we shall define CostPerUse=[0, 0] explicitly for RVC registers?
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