HomePhabricator

[KnownBits] Implement accurate unsigned and signed max and min

Authored by foad on Wed, Sep 2, 8:01 AM.

Description

[KnownBits] Implement accurate unsigned and signed max and min

Use the new implementation in ValueTracking, SelectionDAG and
GlobalISel.

Differential Revision: https://reviews.llvm.org/D87034

Details