[all-commits] [llvm/llvm-project] 0f7d14: [InstCombine] Add shared helper for logical and bi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Oct 17 05:26:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f7d148db45e782373c5d6a0faf745986753982b
https://github.com/llvm/llvm-project/commit/0f7d148db45e782373c5d6a0faf745986753982b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[InstCombine] Add shared helper for logical and bitwise and/or (NFC)
Add a helper for shared folds between logical and bitwise and/or
and move the and/or of icmp and fcmp folds in there. This makes
it easier to extend to more folds.
A possible extension would be to base the current and/or of icmp
reassociation logic on this helper, so that it for example also
applies to fcmp.
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