[all-commits] [llvm/llvm-project] e60e40: [RISCV][P-ext] Use pli.b when only the lower 2 byt...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Apr 16 12:27:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e60e400d778ca1734edab609f9db991b1acaab5b
      https://github.com/llvm/llvm-project/commit/e60e400d778ca1734edab609f9db991b1acaab5b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rv32p.ll
    M llvm/test/CodeGen/RISCV/rv64p.ll

  Log Message:
  -----------
  [RISCV][P-ext] Use pli.b when only the lower 2 bytes are used. (#192400)

If the lower 2 bytes are the same and are the only bytes used we
can use pli.b instead of lui+addi.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list