[all-commits] [llvm/llvm-project] ef2d6d: [InstCombine] Transform (fcmp + fadd + sel) into (...
Rajat Bajpai via All-commits
all-commits at lists.llvm.org
Mon Nov 11 12:12:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef2d6dafc40c5a58532eb773fc74ddd8e1f53a33
https://github.com/llvm/llvm-project/commit/ef2d6dafc40c5a58532eb773fc74ddd8e1f53a33
Author: Rajat Bajpai <rbajpai at nvidia.com>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M llvm/include/llvm/IR/FMF.h
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
A llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll
Log Message:
-----------
[InstCombine] Transform (fcmp + fadd + sel) into (fcmp + sel + fadd) (#106492)
Transform `fcmp + fadd + sel` into `fcmp + sel + fadd` which enables the
possibility of transforming `fcmp + sel` into `maxnum/minnum`
intrinsics.
Alive2 results:
https://alive2.llvm.org/ce/z/2cmimW
https://alive2.llvm.org/ce/z/Qh9ZJt
https://alive2.llvm.org/ce/z/vtLj3R
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list