llvm / llvm/llvm-project

[X86] combineAddOfPMADDWD - add PMADDUBSW support

Open
#223,367 2 comments 0 reactions 1 assignee Claimed by @JihyeonJeong129 View on GitHub
backend:X86 missed-optimization
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

combineAddOfPMADDWD can almost handle PMADDUBSW nodes, but might be assuming commutativity (PMADDUBSW doesn't have matching implicit sext so we need to be careful).

Add test coverage (including 256/512 support - see #223364) and rename to combineAddOfPMADD

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.