[PATCH] [IndVarSimplify] Widen loop compares for unsigned IVs that have a uniform step of one.

Chad Rosier mcrosier at codeaurora.org
Mon Sep 29 09:48:53 PDT 2014


Hi atrick, jmolloy,

This patch extends r217953 to handle unsigned comparison, which requires special handling due to unsigned wrapping.

I believe this is safe, but kicking off full correctness runs now..

 Chad

http://reviews.llvm.org/D5526

Files:
  lib/Transforms/Scalar/IndVarSimplify.cpp
  test/Transforms/IndVarSimplify/widen-loop-comp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5526.14172.patch
Type: text/x-patch
Size: 1974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140929/7f2509bd/attachment.bin>


More information about the llvm-commits mailing list