[all-commits] [llvm/llvm-project] 6373f8: [RISCV] Add BREV8 to hasAllWUsers in RISCVSExtWRem...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Nov 13 12:01:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6373f8c31720e7d9712acc5914ed9176df5dabde
      https://github.com/llvm/llvm-project/commit/6373f8c31720e7d9712acc5914ed9176df5dabde
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-11-13 (Sun, 13 Nov 2022)

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

  Log Message:
  -----------
  [RISCV] Add BREV8 to hasAllWUsers in RISCVSExtWRemoval.

This instruction reverses the bits in each byte. Since we're only
interested in whether the upper 32 bits are used or not, we can
look through them to check their users.




More information about the All-commits mailing list