[all-commits] [llvm/llvm-project] 76a4c4: [InstCombine] Fix constant swap case of fcmp + fad...
Rajat Bajpai via All-commits
all-commits at lists.llvm.org
Thu Jan 2 03:03:32 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76a4c4593ba9f8cad894d80ea75687cd86be3cdd
https://github.com/llvm/llvm-project/commit/76a4c4593ba9f8cad894d80ea75687cd86be3cdd
Author: Rajat Bajpai <rbajpai at nvidia.com>
Date: 2025-01-02 (Thu, 02 Jan 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll
Log Message:
-----------
[InstCombine] Fix constant swap case of fcmp + fadd + sel xfrm (#119419)
The fcmp + fadd + sel => fcmp + sel + fadd xfrm performs incorrect
transformation when select branch values are swapped. This change fixes
this.
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