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

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 21 14:23:42 PST 2019


kparzysz updated this revision to Diff 187864.
kparzysz added a comment.

Changed `getIROrder` to `getNodeId`.

This patch uses `MatchRotate` to do the actual matching, so it's only going to look for opportunities to create a rotate.  Maybe that function should be replaced with MatchRotateOrFunnelShift in a future patch.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D47735/new/

https://reviews.llvm.org/D47735

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47735.187864.patch
Type: text/x-patch
Size: 11435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190221/6b2c3ef5/attachment.bin>


More information about the llvm-commits mailing list