[PATCH] Teach IndVarSimplify to add nuw and nsw to operations that provably don't overflow.

Sanjoy Das sanjoy at playingwithpointers.com
Tue Jan 6 11:04:25 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6748

Files:
  llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/trunk/test/Transforms/BBVectorize/loop1.ll
  llvm/trunk/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
  llvm/trunk/test/Transforms/IndVarSimplify/strengthen-overflow.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6748.17839.patch
Type: text/x-patch
Size: 12705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150106/5ec2af16/attachment.bin>


More information about the llvm-commits mailing list