These nodes only use the lower 32 bits of their inputs so we can use SimplifyDemandedBits to simplify them.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D44375
[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 Event Timelinecraig.topper added a parent revision: D44370: [X86] Combine vXi64 multiplies to MULDQ/MULUDQ during DAG combine instead of lowering.. This revision is now accepted and ready to land.Mar 12 2018, 7:39 AM Closed by commit rL328405: [X86] Add a DAG combine to simplify PMULDQ/PMULUDQ nodes (authored by ctopper). · Explain WhyMar 23 2018, 6:55 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 137974 lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/combine-pmuldq.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/xop-ifma.ll
|