[PATCH] Reassociate in favor of grouping previously paired operands

Xuetian Weng xweng at google.com
Tue Jun 9 17:15:45 PDT 2015


Updated based on Daniel's comment.

This patch shift the rank range by (1 << 16) to have some reserved
space for pairing operands. Ranks are now adjusted after function
OptimizeExpresssion and resort again.


http://reviews.llvm.org/D10327

Files:
  lib/Transforms/Scalar/Reassociate.cpp
  test/Transforms/Reassociate/pair.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10327.27419.patch
Type: text/x-patch
Size: 13136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150610/1acd0cbc/attachment.bin>


More information about the llvm-commits mailing list