SuccessChanges

Summary

  1. Fix -allow-deprecated-dag-overlap in test/CodeGen/dso-local-executable.c (details)
  2. [IndVars] Quick fix LHS/RHS bug (details)
  3. Return "[IndVars] ICmpInst should not prevent IV widening" (details)
Commit dec1bbb47cda3098c1621f780f10cee3fd91e7b1 by i
Fix -allow-deprecated-dag-overlap in test/CodeGen/dso-local-executable.c
The file was modifiedclang/test/CodeGen/dso-local-executable.c (diff)
Commit 3df0daceb2c684c8bd704595e70c08500bb051ed by mkazantsev
[IndVars] Quick fix LHS/RHS bug

The code relies on fact that LHS is the NarrowDef but never
really checks it. Adding the conservative restrictive check,
will follow-up with handling of case where RHS is a NarrowDef.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp (diff)
Commit 12b6c5e68282be7beac597300cf90a9d6ae3e1dd by mkazantsev
Return "[IndVars] ICmpInst should not prevent IV widening"

This reverts commit 4bd35cdc3ae1874c6d070c5d410b3f591de54ee6.

The patch was reverted during the investigation. The investigation
shown that the patch did not cause any trouble, but just exposed
the existing problem that is addressed by the previous patch
"[IndVars] Quick fix LHS/RHS bug". Returning without changes.
The file was modifiedllvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp (diff)