[all-commits] [llvm/llvm-project] 235465: [RISCV][GISel] Legalize G_{U|S}{ADD|SUB}SAT (#92935)
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Wed May 22 00:18:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 235465e40475a3bce1c11b21032844c0c8e14f28
https://github.com/llvm/llvm-project/commit/235465e40475a3bce1c11b21032844c0c8e14f28
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-sat-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-sat-rv64.mir
Log Message:
-----------
[RISCV][GISel] Legalize G_{U|S}{ADD|SUB}SAT (#92935)
This patch adds support for G_UADDSAT/G_SADDSAT/G_USUBSAT/G_SSUBSAT by
lowering it into add/sub with selects. When zbb is available,
min/max/minu/maxu will be selected.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list