[all-commits] [llvm/llvm-project] 4c43c1: [RISCV][GISEL] Add legalizer for G_BSWAP (#70226)
Michael Maitland via All-commits
all-commits at lists.llvm.org
Fri Oct 27 10:03:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c43c1eeef434cf0b98ee9094c776d118da1faeb
https://github.com/llvm/llvm-project/commit/4c43c1eeef434cf0b98ee9094c776d118da1faeb
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-bswap.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-bswap.mir
Log Message:
-----------
[RISCV][GISEL] Add legalizer for G_BSWAP (#70226)
Lower G_BSWAP into simpler instructions that can be selected in
instruction selection. A future patch can handle when there is Zbb.
More information about the All-commits
mailing list