[all-commits] [llvm/llvm-project] 35d771: [RISCV][GISel] Fix failure to legalize non-power o...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Oct 24 23:31:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35d771fd4ffd300e527da87b8329bd120b220a83
      https://github.com/llvm/llvm-project/commit/35d771fd4ffd300e527da87b8329bd120b220a83
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

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

  Log Message:
  -----------
  [RISCV][GISel] Fix failure to legalize non-power of 2 shifts between i32 and i64 on RV64.

We weren't legalizing the shift amount to i64.




More information about the All-commits mailing list