[PATCH] Fix PR22179

Sanjoy Das sanjoy at playingwithpointers.com
Fri Jan 9 18:38:52 PST 2015


Hi atrick, majnemer, rsmith, hfinkel,

We were incorrectly inferring nsw for certain SCEVs.  We can be more aggressive here (see Richard Smith's comment on http://llvm.org/bugs/show_bug.cgi?id=22179) but this change just focuses on correctness.

http://reviews.llvm.org/D6914

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/pr22179.ll
  test/CodeGen/X86/avoid_complex_am.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6914.17968.patch
Type: text/x-patch
Size: 6080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150110/d2de2f57/attachment.bin>


More information about the llvm-commits mailing list