HomePhabricator

[InstSimplify] fold min/max with limit constant; NFC

Authored by spatel on Aug 10 2021, 7:41 AM.

Description

[InstSimplify] fold min/max with limit constant; NFC

This is already done within InstCombine:
https://alive2.llvm.org/ce/z/MiGE22

...but leaving it out of analysis makes it
harder to avoid infinite loops there.