HomePhabricator

[X86] Support SHLD/SHRD masked shift-counts (PR34641)

Authored by RKSimon on Jan 2 2019, 9:05 AM.

Description

[X86] Support SHLD/SHRD masked shift-counts (PR34641)

Peek through shift modulo masks while matching double shift patterns.

I was hoping to delay this until I could remove the X86 code with generic funnel shift matching (PR40081) but this will do for now.

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

llvm-svn: 350222

Details

Committed
RKSimonJan 2 2019, 9:05 AM
Differential Revision
D56199: [X86] Support SHLD/SHRD masked shift-counts (PR34641)
Parents
rGeafd481aadd5: [x86] add more tests for potential horizontal ops; NFC
Branches
Unknown
Tags
Unknown