This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add a DAG combine to simplify PMULDQ/PMULUDQ nodes
ClosedPublic

Authored by craig.topper on Mar 11 2018, 11:09 PM.

Details

Summary

These nodes only use the lower 32 bits of their inputs so we can use SimplifyDemandedBits to simplify them.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon accepted this revision.Mar 12 2018, 7:39 AM

LGTM

This revision is now accepted and ready to land.Mar 12 2018, 7:39 AM
This revision was automatically updated to reflect the committed changes.