[all-commits] [llvm/llvm-project] 7e7aaa: [RISCV][GISel] Support G_ABS with Zbb. (#72939)
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Dec 1 11:14:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e7aaa53a11009a28228e6f39c48adf64d26d1d6
https://github.com/llvm/llvm-project/commit/7e7aaa53a11009a28228e6f39c48adf64d26d1d6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
Log Message:
-----------
[RISCV][GISel] Support G_ABS with Zbb. (#72939)
We can use neg+max or negw+max.
More information about the All-commits
mailing list