SuccessChanges

Summary

  1. [Scalarizer] Avoid changing name of non-instructions (details)
  2. [ARM][MVE] Tail-predication: use unsigned SCEV ranges for tripcount (details)
Commit aa8be5aeead7ad894270aa025e7165169c1a54d2 by bjorn.a.pettersson
[Scalarizer] Avoid changing name of non-instructions

The "takeName" logic in ScalarizerVisitor::gather did not consider
that the value vector could refer to non-instructions, such as
global variables. This patch make sure that we avoid changing the
name of a value if it isn't an instruction.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D87685
The file was addedllvm/test/Transforms/Scalarizer/global-bug-2.ll
The file was modifiedllvm/lib/Transforms/Scalar/Scalarizer.cpp (diff)
Commit 635b87511ec3d6d2fa8f65a3ed1876f01367584e by sjoerd.meijer
[ARM][MVE] Tail-predication: use unsigned SCEV ranges for tripcount

Loop tripcount expressions have a positive range, so use unsigned SCEV ranges
for them.

Differential Revision: https://reviews.llvm.org/D87608
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp (diff)