aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorworuyu <99597449+woruyu@users.noreply.github.com>2025-07-09 17:26:12 +0800
committerGitHub <noreply@github.com>2025-07-09 10:26:12 +0100
commit7edf6bfb54736ea040246e16ece9c784832a4062 (patch)
tree94ef6f25f5faa93698d458615385d7dc2c198b3b /llvm/lib/CodeGen/CodeGen.cpp
parent9c97b38d44c5dfcab6e97b5177ebcc7b978fb476 (diff)
downloadllvm-7edf6bfb54736ea040246e16ece9c784832a4062.zip
llvm-7edf6bfb54736ea040246e16ece9c784832a4062.tar.gz
llvm-7edf6bfb54736ea040246e16ece9c784832a4062.tar.bz2
[DAG][X86] Use pattern matching to simplify PSADBW+ADD combine (#147637)
This patch refactors the add(psadbw(x, 0), psadbw(y, 0)) -> psadbw(x + y, 0) combine to use SDPatternMatch matchers instead of manually checking opcodes and operands. Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions