[all-commits] [llvm/llvm-project] bab2cf: [RISCV][GISel] Promote s32 constant shift amounts ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Nov 10 23:07:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bab2cf2d01490b3c77daa188ecfa9fd7fd0e7125
https://github.com/llvm/llvm-project/commit/bab2cf2d01490b3c77daa188ecfa9fd7fd0e7125
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
M llvm/lib/Target/RISCV/RISCVGISel.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/zba-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-abs.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-ashr.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-bitreverse.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-bswap.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-div.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-itofp.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-load.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-rem.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-store.mir
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zba.ll
Log Message:
-----------
[RISCV][GISel] Promote s32 constant shift amounts to s64 on RV64.
This allows us to reuse isel patterns from SelectionDAG.
This is similar to what is done on AArch64.
More information about the All-commits
mailing list