[all-commits] [llvm/llvm-project] 558657: s390x: pattern match saturated truncation (#155377)
Folkert de Vries via All-commits
all-commits at lists.llvm.org
Tue Aug 26 08:20:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 558657298a409e5988227e32116607507531c2d4
https://github.com/llvm/llvm-project/commit/558657298a409e5988227e32116607507531c2d4
Author: Folkert de Vries <folkert at folkertdev.nl>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZInstrVector.td
M llvm/lib/Target/SystemZ/SystemZOperators.td
M llvm/test/CodeGen/SystemZ/int-max-02.ll
M llvm/test/CodeGen/SystemZ/int-min-02.ll
A llvm/test/CodeGen/SystemZ/saturating-truncation.ll
Log Message:
-----------
s390x: pattern match saturated truncation (#155377)
Simplify min/max instruction matching by making the related
SelectionDAG operations legal.
Add patterns to match (signed and unsigned) saturated
truncation based on open-coded min/max patterns.
Fixes https://github.com/llvm/llvm-project/issues/153655
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