SuccessChanges

Summary

  1. [LLD] [COFF] Error out if creating a DLL with too many exported symbols (details)
  2. [ARM] Register pressure with -mthumb forces register reload before each call (details)
Commit a54919e0c11542f6716043003e403f1910f32528 by martin
[LLD] [COFF] Error out if creating a DLL with too many exported symbols

The PE/DLL format has a limit on 64k exported symbols per DLL; make
sure to check this.

Differential Revision: https://reviews.llvm.org/D86701
The file was addedlld/test/COFF/Inputs/def-many.py
The file was addedlld/test/COFF/export-limit.s
The file was modifiedlld/COFF/DriverUtils.cpp (diff)
Commit 85b4d286d7b19f78135277fe068b1d90f595f8bf by david.green
[ARM] Register pressure with -mthumb forces register reload before each call

This patch implements the foldMemoryOperand hook in Thumb1InstrInfo,
allowing tBLXr and a spilled function address to be combined back into a
tBL. This can help with codesize at Oz, especailly in the tinycrypt
library.

Differential Revision: https://reviews.llvm.org/D79785
The file was addedllvm/test/CodeGen/ARM/minsize-call-cse-3.ll
The file was modifiedllvm/lib/Target/ARM/Thumb1InstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/Thumb1InstrInfo.h (diff)
The file was addedllvm/test/CodeGen/ARM/minsize-call-cse-2.ll