[all-commits] [llvm/llvm-project] a10789: [ARM] Recognize SSAT and USAT from SMIN/SMAX
David Green via All-commits
all-commits at lists.llvm.org
Wed Feb 23 00:56:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a10789d6cda71cd2ea13309fd6daf854d44e0906
https://github.com/llvm/llvm-project/commit/a10789d6cda71cd2ea13309fd6daf854d44e0906
Author: David Green <david.green at arm.com>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/fpclamptosat.ll
M llvm/test/CodeGen/ARM/sadd_sat.ll
M llvm/test/CodeGen/ARM/sadd_sat_plus.ll
M llvm/test/CodeGen/ARM/ssat-unroll-loops.ll
M llvm/test/CodeGen/ARM/ssat.ll
M llvm/test/CodeGen/ARM/ssub_sat.ll
M llvm/test/CodeGen/ARM/ssub_sat_plus.ll
M llvm/test/CodeGen/ARM/usat.ll
Log Message:
-----------
[ARM] Recognize SSAT and USAT from SMIN/SMAX
We have some recognition of SSAT and USAT from SELECT_CC at the moment.
This extends the matching to SMIN/SMAX which can help catch more cases,
either from min/max being the canonical form in instcombine or from some
expanded nodes like fp_to_si_sat.
Differential Revision: https://reviews.llvm.org/D119819
More information about the All-commits
mailing list