SuccessChanges

Summary

  1. [lld/mac] Simplify encodeDylibOrdinal() a bit (details)
  2. [ARM] VMOVN undef folding (details)
Commit 860e862f34ce17f6a5ddeee472fe4e305370da18 by thakis
[lld/mac] Simplify encodeDylibOrdinal() a bit

Only one of the two callers used the lastBinding parameter, so
do that work at that one call site. Extract a ordinalForDylibSymbol()
helper to make this tidy.

No behavior change.

Differential Revision: https://reviews.llvm.org/D97597
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 91ebc4e864c061f9a72791700150f82d19bbd003 by david.green
[ARM] VMOVN undef folding

If we insert undef using a VMOVN, we can just use the original value in
three out of the four possible combinations. Using VMOVT into a undef
vector will still require the lanes to be moved, but otherwise the
non-undef value can be used.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmovn.ll