[all-commits] [llvm/llvm-project] ed3a60: [RISCV][GlobalISel] Fix selectShiftMask when shift...

Hongbin Jin via All-commits all-commits at lists.llvm.org
Thu May 9 06:18:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed3a60c796c2ed3c9fc59efc83856913ab5860f5
      https://github.com/llvm/llvm-project/commit/ed3a60c796c2ed3c9fc59efc83856913ab5860f5
  Author: Hongbin Jin <octopus.busts_0w at icloud.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/shift-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/shift-rv64.mir

  Log Message:
  -----------
  [RISCV][GlobalISel] Fix selectShiftMask when shift mask is created from G_AND (#89602)

This patch fixes cases where G_AND creating the shift mask is eliminated
if one of its source operands is a constant, resulting from an incorrect
predicate.



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