[llvm] [RISCV][GISEL] Introduce the RISCVPostLegalizerLowering pass (PR #108991)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 12:57:26 PDT 2024


topperc wrote:

> One observation: If you create G_X in the lowering pass, you have to regbank-select them, but we have a pass which is an expert for it. In this case, it is probably better to do the lowering in the legalizer. As a by-product, we get legal G_X.

regbank select runs after the lowering pass...

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


More information about the llvm-commits mailing list