[PATCH] D101246: [RISCV] Select 5 bit immediate for VSETIVLI during isel rather than peepholing in the custom inserter.

Zakk Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 10:12:25 PDT 2021


khchen added a comment.

Select the immediate during isel does make sense to me, but unfortunately there are some cases have a slower result.
Do you know is there any cases which have better instruction order and reduce register spilling when apply the new scheme?
I'm just afraid of the new one would be always generate the slower instruction order.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101246



More information about the llvm-commits mailing list