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.
Paths
| Differential D56199
[X86] Support SHLD/SHRD masked shift-counts (PR34641) ClosedPublic Authored by RKSimon on Jan 2 2019, 4:24 AM.
Details Summary 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.
Diff Detail
Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Jan 2 2019, 7:45 AM Closed by commit rL350222: [X86] Support SHLD/SHRD masked shift-counts (PR34641) (authored by RKSimon). · Explain WhyJan 2 2019, 9:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 179833 lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/shift-double.ll
|
Matter of taste, but we could avoid the partial-braces/indenting with something like: