[PATCH] ScalarEvolution backedge taken count computation on LT and GT rewrite

Michele Scandale michele.scandale at gmail.com
Tue Oct 29 07:11:16 PDT 2013


  Here an updated version of the patch. The conflict was due to rL193514.

  In the current version NoWrap boolean is computed considering only NSW/NUW flags in order to avoid the wrong behavior on NW only flag.

Hi atrick,

http://llvm-reviews.chandlerc.com/D2008

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2008?vs=5103&id=5228#toc

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll
  test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll
  test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll
  test/Analysis/ScalarEvolution/bounded_decrement_loop.ll
  test/Analysis/ScalarEvolution/trip-count3.ll
  test/Analysis/ScalarEvolution/trip-count9.ll
  test/Transforms/IndVarSimplify/loop_evaluate_6.ll
  test/Transforms/IndVarSimplify/no-iv-rewrite.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2008.2.patch
Type: text/x-patch
Size: 28121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131029/0204ebab/attachment.bin>


More information about the llvm-commits mailing list