SuccessChanges

Summary

  1. [SystemZ] Fix typo (details)
  2. Fix compilation warning. NFC. (details)
  3. [IR] adjust assert when replacing undef elements in vector constant (details)
  4. [ARM] Use isFMAFasterThanFMulAndFAdd for MVE (details)
Commit d4a7855b68d4d53f121209333d5f2796731ab1f5 by ulrich.weigand
[SystemZ] Fix typo
Typo in comment.  NFC.
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
Commit d142ec6fef9a053c9fd9edb5a388203cdb121e65 by michael.hliao
Fix compilation warning. NFC.
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit b556ce3992709e1f6302ca1d4c296f57e83cd6a7 by spatel
[IR] adjust assert when replacing undef elements in vector constant
As noted in follow-up to: rGa1e8ad4f2fa7
It's not safe to assume that an element of the constant is always
non-null. It's definitely not an expected case for the current
instcombine user, but that may not hold if this function is eventually
called from arbitrary places.
The file was modifiedllvm/lib/IR/Constants.cpp
Commit 91b0cad8132997060182146b2734065bc807e9fa by david.green
[ARM] Use isFMAFasterThanFMulAndFAdd for MVE
The Arm backend will usually return false for
isFMAFasterThanFMulAndFAdd, where both the fused VFMA.f32 and a
non-fused VMLA.f32 are usually available for scalar code. For MVE we
don't have the non-fused version though. It makes more sense for
isFMAFasterThanFMulAndFAdd to return true, allowing us to simplify some
of the existing ISel patterns.
The tests here are that non of the existing tests failed, and so we are
still selecting VFMA and VFMS. The one test that changed shows we can
now select from fast math flags, as opposed to just relying on the
isFMADLegalForFAddFSub option.
Differential Revision: https://reviews.llvm.org/D69115
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll