Skip to content
  • Dan Gohman's avatar
    Fix a corner case in the new indvars promotion logic: if there · 8212ebb5
    Dan Gohman authored
    are multiple IV's in a loop, some of them may under go signed
    or unsigned wrapping even if the IV that's used in the loop
    exit condition doesn't. Restrict sign-extension-elimination
    and zero-extension-elimination to only those that operate on
    the original loop-controlling IV.
    
    llvm-svn: 64866
    8212ebb5
Loading