This adds some basic handling in TargetTransformInfo to treat vector_reduce_fminimum/vector_reduce_fmaximum similar to vector_reduce_fmax/vector_reduce_fmax, getting better costs via getMinMaxReductionCost.
Details
Details
Diff Detail
Diff Detail
Event Timeline
dmgreen added a parent revision: D153547: [CostModel] Use min/max intrinsics for vecreduce.min/max costs.Jun 22 2023, 7:03 AM
This revision is now accepted and ready to land.Jun 22 2023, 7:09 AM
Closed by commit rGed9cb663765c: [TTI][AArch64] Add basic vector_reduce_fmaximum/vector_reduce_fminimum… (authored by dmgreen). · Explain WhyJul 4 2023, 10:13 AM
This revision was automatically updated to reflect the committed changes.