[all-commits] [llvm/llvm-project] e4a124: [DAG] Fold (srl (shl x, c1), c2) -> and(shl/srl(x, ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Jun 20 00:37:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4a124dda5933035ab69e7eb5abd838b52b57a40
https://github.com/llvm/llvm-project/commit/e4a124dda5933035ab69e7eb5abd838b52b57a40
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-06-20 (Mon, 20 Jun 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/ushl_sat.ll
M llvm/test/CodeGen/AMDGPU/idot8s.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ubfe.ll
M llvm/test/CodeGen/ARM/umulo-32.ll
M llvm/test/CodeGen/X86/pr32588.ll
M llvm/test/CodeGen/X86/pull-binop-through-shift.ll
M llvm/test/CodeGen/X86/rotate-extract-vector.ll
M llvm/test/CodeGen/X86/rotate-extract.ll
M llvm/test/CodeGen/X86/shift-mask.ll
Log Message:
-----------
[DAG] Fold (srl (shl x, c1), c2) -> and(shl/srl(x, c3), m)
Similar to the existing (shl (srl x, c1), c2) fold
Part of the work to fix the regressions in D77804
Differential Revision: https://reviews.llvm.org/D125836
More information about the All-commits
mailing list