[libclc] [libclc] Optimize generic CLC fmin/fmax (PR #128506)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 02:55:44 PDT 2025


================
@@ -43,8 +48,10 @@ _CLC_DEF _CLC_OVERLOAD half __clc_fmin(half x, half y) {
   return (y < x) ? y : x;
----------------
frasercrmck wrote:

Good idea. I'll see if it generates the same IR, which I suspect it will.

https://github.com/llvm/llvm-project/pull/128506


More information about the cfe-commits mailing list