Hi Andrew,

On 2023/9/8 13:28, Andrew Pinski wrote:
On Thu, Sep 7, 2023 at 10:25 PM Lehua Ding <lehua.d...@rivai.ai> wrote:

Hi,

This patch adds support that tries to fold `MIN (poly, poly)` to
a constant. Consider the following C Code:

Does it make sense to handle max also?


At the moment I can't construct a C program that can generates MIN_EXPR, so I don't add it, although I implement both min and max locally.

--
Best,
Lehua

Reply via email to