[all-commits] [llvm/llvm-project] c0de13: [GISel][RISCV] Legalize shifts with non-trivial sh...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Wed May 22 08:36:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0de13b05f9905dbbc582d234214081dd410db1d
      https://github.com/llvm/llvm-project/commit/c0de13b05f9905dbbc582d234214081dd410db1d
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-lshr-rv64.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/shift.ll

  Log Message:
  -----------
  [GISel][RISCV] Legalize shifts with non-trivial shamt types (#93019)

This patch widens the illegal shamt type `i48` -> `i64` to fix
legalization failure: https://godbolt.org/z/4zMTnoW7h



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