[llvm] [RISCV] Switch to sign-extended loads if possible in RISCVOptWInstrs (PR #144703)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 12:02:55 PDT 2025


topperc wrote:

Have you look at doing this during instruction selection using the hasAllNbitUsers in RISCVISelDAGToDAG.cpp. That isn't restricted to RV64. Though it won't work across basic blocks.

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


More information about the llvm-commits mailing list