[all-commits] [llvm/llvm-project] 91aa23: [RISCV] Add isel pattern for (and X, 0xffffffff <<...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Nov 4 18:05:31 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  [RISCV] Add isel pattern for (and X, 0xffffffff << C) with Zba.

We can use SRLI by C to clear LSBs followed by a SLLI_UW.




More information about the All-commits mailing list