SuccessChanges

Summary

  1. [LoopDeletion] Forget loop before setting values to undef (details)
  2. [InstCombine] Add trunc(lshr(sext(x),c)) non-uniform vector tests (details)
Commit 60b852092c98dbdc6248d60109d90ae6f8ad841c by flo
[LoopDeletion] Forget loop before setting values to undef

After D71539, we need to forget the loop before setting the incoming
values of phi nodes in exit blocks, because we are looking through those
phi nodes now and the SCEV expression could depend on the loop phi. If
we update the phi nodes before forgetting the loop, we miss those users
during invalidation.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D88167
The file was modifiedllvm/test/Transforms/LoopDeletion/update-scev.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit 324df2661b3ee38996fab589a2605da458fa249e by llvm-dev
[InstCombine] Add trunc(lshr(sext(x),c)) non-uniform vector tests
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll