[PATCH] D47735: [SelectionDAG] Create rotates more aggressively

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 08:43:46 PDT 2018


kparzysz updated this revision to Diff 150345.
kparzysz added a comment.
Herald added a subscriber: mgrang.

Changed pair-matching to work on smaller segments (only on shifts of the same value).

Added a testcase of rotates ORed with other rotates, or with unrelated operations.


Repository:
  rL LLVM

https://reviews.llvm.org/D47735

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/Hexagon/rotate-multi.ll
  test/CodeGen/Hexagon/rotate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47735.150345.patch
Type: text/x-patch
Size: 7844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/61574e20/attachment.bin>


More information about the llvm-commits mailing list