HomePhabricator

[InstSimplify] add limit folds for fmin/fmax

Authored by spatel on Sep 15 2020, 7:30 AM.

Description

[InstSimplify] add limit folds for fmin/fmax

If the constant operand is the opposite of the min/max value,
then the result must be the other value.

This is based on the similar codegen transform proposed in:
D87571

Details

Committed
spatelSep 15 2020, 7:58 AM
Parents
rG7c6f5b7fbf5a: [analyzer] Add documentation for alpha.fuchsia.Lock and alpha.core.C11Lock
Branches
Unknown
Tags
Unknown