aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/CodeGenOptions.cpp
diff options
context:
space:
mode:
authorYingwei Zheng <dtcxzyw2333@gmail.com>2025-05-31 16:25:10 +0800
committerGitHub <noreply@github.com>2025-05-31 16:25:10 +0800
commit3ec0c5c7fef03985b43432c6b914c289d8a5435e (patch)
tree315dce1d2bfebdbd2980ae25883ef411238b8564 /clang/lib/Basic/CodeGenOptions.cpp
parent7c080e267722ba14439e2f35789c5c293672ab84 (diff)
downloadllvm-3ec0c5c7fef03985b43432c6b914c289d8a5435e.zip
llvm-3ec0c5c7fef03985b43432c6b914c289d8a5435e.tar.gz
llvm-3ec0c5c7fef03985b43432c6b914c289d8a5435e.tar.bz2
[InstCombine] Propagate FMF from select instead of fcmp (#141010)
Previously, https://github.com/llvm/llvm-project/commit/3d6b53980ce4ee855484fc8ae6ac3f99c85e48c3 propagates FMF from fcmp to avoid performance regressions. With the help of https://github.com/llvm/llvm-project/pull/139861, https://github.com/llvm/llvm-project/pull/141015, and https://github.com/llvm/llvm-project/pull/141914, we can still convert SPF into fabs/minnum/maxnum intrinsics even if some flags are missing. This patch propagates FMF from select to address the long-standing issue. Closes https://github.com/llvm/llvm-project/issues/140994.
Diffstat (limited to 'clang/lib/Basic/CodeGenOptions.cpp')
0 files changed, 0 insertions, 0 deletions