[PATCH] D18792: [SCEV][LAA] Add tests for SCEV expression transformations performed during LAA

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 07:34:00 PDT 2016


sbaranga created this revision.
sbaranga added reviewers: anemet, sanjoy.
sbaranga added a subscriber: llvm-commits.
Herald added subscribers: mzolotukhin, sanjoy.

Add a print method to Predicated Scalar Evolution which prints all interesting
transformations done by PSE.

Loop Access Analysis will now print this as part of the analysis output.
We now use this to check the exact expression transformations that were done
by PSE in LAA.

The additional checking also acts as white-box testing for the getAsAddRec method.

http://reviews.llvm.org/D18792

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/LoopAccessAnalysis.cpp
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18792.52689.patch
Type: text/x-patch
Size: 4998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160405/0c855b88/attachment.bin>


More information about the llvm-commits mailing list