[all-commits] [llvm/llvm-project] 3e5698: [RISCV][GISel] Lower G_UADDE, G_UADDO, G_USUBE, an...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Aug 18 17:29:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e569883fa7d6029a776efc992dbc45c257a2aa1
https://github.com/llvm/llvm-project/commit/3e569883fa7d6029a776efc992dbc45c257a2aa1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-add.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-mul-ext.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-sub.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-add.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-mul-ext.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-sub.mir
Log Message:
-----------
[RISCV][GISel] Lower G_UADDE, G_UADDO, G_USUBE, and G_USUBO
RISC-V doesn't have flag registers, we need to implement these
with add/sub and compares.
Remove the untested legalization for the signed versions. We can
add it back when we write tests.
Reviewed By: nitinjohnraj
Differential Revision: https://reviews.llvm.org/D157772
More information about the All-commits
mailing list