[all-commits] [llvm/llvm-project] ad3904: [DAGCombiner] Attempt to fold 'add' nodes to funne...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Fri Apr 4 15:39:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad39049ec48edcb2ad4024c80f1cadfc9f0e4cb0
https://github.com/llvm/llvm-project/commit/ad39049ec48edcb2ad4024c80f1cadfc9f0e4cb0
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/rotate-add.ll
M llvm/test/CodeGen/ARM/rotate-add.ll
M llvm/test/CodeGen/NVPTX/rotate-add.ll
M llvm/test/CodeGen/X86/rotate-add.ll
Log Message:
-----------
[DAGCombiner] Attempt to fold 'add' nodes to funnel-shift or rotate (#125612)
Almost all of the rotate idioms that are valid for an 'or' are also
valid when the halves are combined with an 'add'. Further, many of these
cases are not handled by common bits tracking meaning that the 'add' is
not converted to a 'disjoint or'.
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