[all-commits] [llvm/llvm-project] de5a7f: [RISCV] Prefer LUI over PLUI.H on RV32. (#192340)

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 15 19:46:40 PDT 2026


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

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
    M llvm/test/MC/RISCV/rv32p-aliases-valid.s

  Log Message:
  -----------
  [RISCV] Prefer LUI over PLUI.H on RV32. (#192340)

I don't think any of the cases PLUI.H can handle would be eligible for
C.LUI, but still figured it was best to use base ISA instructions when
possible.



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