[PATCH] D57389: [X86] Improve use of SHLD/SHRD

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 07:43:06 PST 2019


deadalnix created this revision.
deadalnix added reviewers: RKSimon, craig.topper.

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 <https://reviews.llvm.org/D57367> or D33587 <https://reviews.llvm.org/D33587>


Repository:
  rL LLVM

https://reviews.llvm.org/D57389

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/shift-double-x86_64.ll
  test/CodeGen/X86/shift-double.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57389.184089.patch
Type: text/x-patch
Size: 4661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190129/e4bf5237/attachment.bin>


More information about the llvm-commits mailing list