[PATCH] D13613: [SCEV] Mark AddExprs as nsw or nuw if legal

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 17:30:54 PDT 2015


sanjoy created this revision.
sanjoy added reviewers: atrick, hfinkel, nlewycky.
sanjoy added a subscriber: llvm-commits.
Herald added a subscriber: sanjoy.

This uses `ScalarEvolution::getRange` and not potentially control
dependent `nsw` and `nuw` bits on the arithmetic instruction.

http://reviews.llvm.org/D13613

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_3d.ll
  test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll
  test/Analysis/ScalarEvolution/infer-prestart-no-wrap.ll
  test/Analysis/ScalarEvolution/min-max-exprs.ll
  test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll
  test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13613.37009.patch
Type: text/x-patch
Size: 8389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151010/a3216158/attachment-0001.bin>


More information about the llvm-commits mailing list