[all-commits] [llvm/llvm-project] 37b10a: [RISCV][GISel] Use correct shift width for GIShift...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Dec 5 16:00:46 PST 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/RISCVGISel.td
    M llvm/test/CodeGen/RISCV/GlobalISel/rv64zbb-zbkb.ll

  Log Message:
  -----------
  [RISCV][GISel] Use correct shift width for GIShiftMask32 ComplexOperandMatcher.

We should use 32 instead of XLen. This allows us to remove
'and X, 31' from the shift amount.



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