[X86] Improve use of SHLD/SHRD

Authored by Amaury Sechet <deadalnix@gmail.com> on Mar 1 2019, 6:44 PM.


[X86] Improve use of SHLD/SHRD

This extends the variety of pattern that can generate a SHLD instead of using two shifts.

This fixes a regression that would be introduced by D57367 or D33587

Reviewers: RKSimon, craig.topper

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D57389

llvm-svn: 355260

Event Timeline

Amaury Sechet <deadalnix@gmail.com> committed rGf24abf651199: [X86] Improve use of SHLD/SHRD (authored by Amaury Sechet <deadalnix@gmail.com>).Mar 1 2019, 6:44 PM