[all-commits] [llvm/llvm-project] 1f7c17: [RISCV] Expand rotate by non-constant for XTHeadBb...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue May 23 16:31:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f7c1741d6e294fcce754a22ad96a6352f3e1f21
https://github.com/llvm/llvm-project/commit/1f7c1741d6e294fcce754a22ad96a6352f3e1f21
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXTHead.td
M llvm/test/CodeGen/RISCV/rotl-rotr.ll
Log Message:
-----------
[RISCV] Expand rotate by non-constant for XTHeadBb during lowering.
Avoids multi instruction isel patterns and enables mask optimizations
on shift amount.
Reviewed By: philipp.tomsich
Differential Revision: https://reviews.llvm.org/D151263
More information about the All-commits
mailing list