[PATCH] Enable ExitValue rewrite only when expansion cost is low.
    Wei Mi 
    wmi at google.com
       
    Wed May 27 12:36:04 PDT 2015
    
    
  
I updated the patch to enable aggressive exit value rewriting if the loop can be deleted after the rewrite.
Thanks,
Wei.
REPOSITORY
  rL LLVM
http://reviews.llvm.org/D9800
Files:
  lib/Analysis/ScalarEvolutionExpander.cpp
  lib/Transforms/Scalar/IndVarSimplify.cpp
  test/Transforms/IndVarSimplify/exit_value_test2.ll
  test/Transforms/IndVarSimplify/exit_value_test3.ll
  test/Transforms/IndVarSimplify/exit_value_tests.ll
  test/Transforms/IndVarSimplify/lcssa-preservation.ll
  test/Transforms/IndVarSimplify/loop_evaluate_1.ll
  test/Transforms/IndVarSimplify/loop_evaluate_6.ll
EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9800.26625.patch
Type: text/x-patch
Size: 16235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150527/69ef15e8/attachment.bin>
    
    
More information about the llvm-commits
mailing list