[clang] [llvm] [InstCombine] fold float clamp pattern into llvm.max/min (PR #159652)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 09:21:55 PDT 2025
dtcxzyw wrote:
Can you refine https://github.com/llvm/llvm-project/blob/24b03d3217e41536cee7c868860b5930160ad526/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp#L4171-L4196 to handle this fold? As for the denormal flushing problem, we can check if the denormal mode of current function is `ieee`.
https://github.com/llvm/llvm-project/pull/159652
More information about the llvm-commits
mailing list