[all-commits] [llvm/llvm-project] dfff57: [RISCV] Add isel special case for (and (shl X, c2)...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu May 9 14:39:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfff57e751f6bae12172a1a246e1f8b33db042f8
      https://github.com/llvm/llvm-project/commit/dfff57e751f6bae12172a1a246e1f8b33db042f8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

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

  Log Message:
  -----------
  [RISCV] Add isel special case for (and (shl X, c2), c1) -> (slli_uw (srli x, c3-c2), c3). (#91638)

Where c1 is a shifted mask with 32 set bits and c3 trailing zeros.



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