[clang] [llvm] [InstCombine] fold float clamp pattern into llvm.max/min (PR #159652)
Vedant Paranjape via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 18 20:32:57 PDT 2025
VedantParanjape wrote:
> This is a canonicalize introducing transformation. If %arg0 is a denormal, and the transformed result will be flushed but it wouldn't in the original
that's a fair point, I was not aware of this while working. Will having a flush-all attribute on this instruction guarantee FTZ even in the backend?
https://github.com/llvm/llvm-project/pull/159652
More information about the cfe-commits
mailing list