HomePhabricator

[DAG] LowerMINMAX - move default expansion to generic TargetLowering…

Authored by RKSimon on Sun, Nov 22, 5:02 AM.

Description

[DAG] LowerMINMAX - move default expansion to generic TargetLowering::expandIntMINMAX

This is part of the discussion on D91876 about trying to reduce custom lowering of MIN/MAX ops on older SSE targets - if we can improve generic vector expansion we should be able to relax the limitations in SelectionDAGBuilder when it will let MIN/MAX ops be generated, and avoid having to flag so many ops as 'custom'.

Details

Committed
RKSimonSun, Nov 22, 5:02 AM
Parents
rG82c22f124816: [clangd] Fix compile error after 20b69af7
Branches
Unknown
Tags
Unknown