[PATCH] D48853: [SCEV] Add zext(C + x + ...) -> D + zext(C-D + x + ...)<nuw> transform

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 18:22:46 PDT 2018


rtereshin updated this revision to Diff 154914.
rtereshin added a comment.

Updated the comment from a misleading `4 + 4 * x` example to a correct `5 + 4 * x` one.


Repository:
  rL LLVM

https://reviews.llvm.org/D48853

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll
  test/Transforms/LoadStoreVectorizer/X86/codegenprepare-produced-address-math.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48853.154914.patch
Type: text/x-patch
Size: 11581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/6278186e/attachment.bin>


More information about the llvm-commits mailing list