1. [X86][AVX] Reuse existing VBROADCAST(x) for SCALAR_TO_VECTOR(x) (details)
  2. [lld/mac] Simplify encodeDylibOrdinal() a bit (details)
Commit ab3ea27b6fce6e57301c3e6efc96f80b5eb31ac4 by llvm-dev
[X86][AVX] Reuse existing VBROADCAST(x) for SCALAR_TO_VECTOR(x)

Similar to what we already do for BROADCASTs of different vector sizes - if we're going to broadcast it anyway might as well reuse it.
The file was modifiedllvm/test/CodeGen/X86/combine-bitselect.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
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:
The file was modifiedlld/MachO/SyntheticSections.cpp