[PATCH] [NaryReassociate] Run EarlyCSE/GVN after NaryReassociate

Jingyue Wu jingyue at google.com
Fri May 22 14:14:48 PDT 2015


Hi broune, meheff,

This patch made two improvements to NaryReassociate and the NVPTX pipeline

1. Run EarlyCSE/GVN after NaryReassociate to get rid of redundant common
expressions.

2. When adding an instruction to SeenExprs, maps both the SCEV before and after
reassociation to that instruction.

http://reviews.llvm.org/D9947

Files:
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  lib/Transforms/Scalar/NaryReassociate.cpp
  test/Transforms/NaryReassociate/NVPTX/nary-gep.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9947.26350.patch
Type: text/x-patch
Size: 5688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150522/42b7931c/attachment.bin>


More information about the llvm-commits mailing list