[llvm] s390x: pattern match saturated truncation (PR #155377)
Folkert de Vries via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 02:48:06 PDT 2025
================
@@ -1269,11 +1282,24 @@ multiclass IntegerMinMaxVectorOps<ValueType type, SDPatternOperator cmph,
}
}
+multiclass SignedIntegerMinMaxVectorOps<ValueType type, SDPatternOperator cmph,
+ Instruction min, Instruction max> {
+ defm : IntegerMinMaxVectorOps<type, cmph, min, max>;
+
+ let Predicates = [FeatureVector] in {
+ def : Pat<(type (smax VR128:$x, VR128:$y)),
----------------
folkertdev wrote:
How would I verify that? just remove `IntegerMinMaxVectorOps` and run the tests, see if they still succeed?
https://github.com/llvm/llvm-project/pull/155377
More information about the llvm-commits
mailing list