[all-commits] [llvm/llvm-project] 20a68c: [RISCV] Remove BREV8 and ORC_B from hasAllNBitUser...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jul 9 16:18:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20a68c6179da4bc1899e71809ff45e9dce5dd150
      https://github.com/llvm/llvm-project/commit/20a68c6179da4bc1899e71809ff45e9dce5dd150
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp

  Log Message:
  -----------
  [RISCV] Remove BREV8 and ORC_B from hasAllNBitUsers in RISCVOptWInstrs. (#147830)

These instructions operate on bytes so we need to round the demanded
bits up to the nearest byte which we aren't doing. I think we forgot to
update this when we changed from hasAllWUsers to hasNBitUsers.

We don't have any test case for these instruction so remove them until
we can put together a test.



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