[all-commits] [llvm/llvm-project] 479716: [RISCV][GISel] Make G_SEXT_INREG with source size ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Aug 21 10:43:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 479716d95431fa229f106db70eaf9be59df9c287
https://github.com/llvm/llvm-project/commit/479716d95431fa229f106db70eaf9be59df9c287
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-div.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-icmp.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-rem.mir
Log Message:
-----------
[RISCV][GISel] Make G_SEXT_INREG with source size of 32 legal for RV64.
This maps to the sext.w instruction.
As far as I could tell this needs custom lowering to check the immediate.
Reviewed By: nitinjohnraj
Differential Revision: https://reviews.llvm.org/D158350
More information about the All-commits
mailing list