[PATCH] D15412: [SCEV][LAA] Add no overflow SCEV predicates and use use them to improve strided pointer detection
firstname.lastname@example.org via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 04:12:42 PST 2016
sbaranga updated this revision to Diff 47009.
sbaranga added a comment.
Herald added a subscriber: mzolotukhin.
Added a test case with an inbounds GEPs, with the GEP index
having a non AddRec SCEV expression. This covers more
accurately the case where the input comes from C/C++.
Fixed the long lines in the test.
I've also noticed that the debug messages in isStridedPtr
would get confusing because they would use the SCEV expression
of the pointer before being coerced into an AddRecExpr. This
also changes the debug messages to use the updated expressions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 40727 bytes
Desc: not available
More information about the llvm-commits