SuccessChanges

Summary

  1. [NFC][SimplifyCFG] Add some more tests for Arm. (details)
  2. [PowerPC] Fix gcc warning [NFC] (details)
  3. [libunwind] Fix warning when building without frameheader cache (details)
  4. [ARM][CGP] Fix scalar condition selects for MVE (details)
  5. [NFC][SimplifyCFG] More tests for Arm (details)
Commit d4225b8f17d817a544b50d5e54737b059c660110 by sam.parker
[NFC][SimplifyCFG] Add some more tests for Arm.
The file was modifiedllvm/test/Transforms/SimplifyCFG/ARM/branch-fold-threshold.ll (diff)
Commit 59e1fbe55784d236d5a9e55b6da592bbbcff9057 by mikael.holmen
[PowerPC] Fix gcc warning [NFC]

Without the fix gcc 7.4 warns with

../lib/Target/PowerPC/PPCAsmPrinter.cpp: In member function 'void {anonymous}::PPCAsmPrinter::EmitTlsCall(const llvm::MachineInstr*, llvm::MCSymbolRefExpr::VariantKind)':
../lib/Target/PowerPC/PPCAsmPrinter.cpp:525:53: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
                  MCInstBuilder(Subtarget->isPPC64() ? Opcode : PPC::BL_TLS)
                                ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp (diff)
Commit 1c39ffecd84a5eba54f5fabb433b0192d1dbd3b4 by mikael.holmen
[libunwind] Fix warning when building without frameheader cache

Without the fix the compiler warns with

/data/repo/master/libunwind/src/AddressSpace.hpp:436:44: warning: unused parameter 'pinfo_size' [-Wunused-parameter]
                                    size_t pinfo_size, void *data) {
                                           ^
1 warning generated.
The file was modifiedlibunwind/src/AddressSpace.hpp (diff)
Commit 5b7e27a4db95a07cc140e3980a49a1ee3fb2052c by david.green
[ARM][CGP] Fix scalar condition selects for MVE

The arm backend does not handle select/select_cc on vectors with scalar
conditions, preferring to expand them in codegenprepare instead. This
usually works except when optimizing for size, where the optsize check
would end up overruling the backend isSelectSupported check.

We could handle the selects in ISel too, but this seems like smaller
code than trying to splat the condition to all lanes.

Differential Revision: https://reviews.llvm.org/D86433
The file was addedllvm/test/CodeGen/Thumb2/mve-selectcc.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp (diff)
Commit ee2fdedd842c373c967494d7b9eb1e8b2b9c7d53 by sam.parker
[NFC][SimplifyCFG] More tests for Arm
The file was modifiedllvm/test/Transforms/SimplifyCFG/ARM/branch-fold-threshold.ll (diff)