[all-commits] [llvm/llvm-project] 157943: [InstCombine] Fold copysign(floor(fabs(X)), X) to ...
Aayush Shrivastava via All-commits
all-commits at lists.llvm.org
Wed Jun 10 13:20:49 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1579432afdcd14bc4031ad0eff5fea42367c0523
https://github.com/llvm/llvm-project/commit/1579432afdcd14bc4031ad0eff5fea42367c0523
Author: Aayush Shrivastava <iamaayushrivastava at gmail.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/copysign.ll
Log Message:
-----------
[InstCombine] Fold copysign(floor(fabs(X)), X) to trunc(X) (#200836)
Fixes #200519.
Adds an InstCombine fold for the pattern `copysign(floor(fabs(X)), X)
--> trunc(X)`.
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