[all-commits] [llvm/llvm-project] ea6866: [InstCombine] Add fold for fabs(-x) -> fabs(x) (#9...
Vaibhav via All-commits
all-commits at lists.llvm.org
Thu Jun 27 11:10:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea686686477921f571d3b492de44664eafb82465
https://github.com/llvm/llvm-project/commit/ea686686477921f571d3b492de44664eafb82465
Author: Vaibhav <56088720+VaibhavRumale at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll
Log Message:
-----------
[InstCombine] Add fold for fabs(-x) -> fabs(x) (#95627)
This patch folds `fabs(-x) -> fabs(x)`
Closes #94170
Proofs: https://alive2.llvm.org/ce/z/gjzmgf
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