SuccessChanges

Summary

  1. [TII] Use optional destination and source pair as a return value; NFC (details)
  2. AMDGPU: Simplify getAddressSpace calls (details)
  3. DAG: Add new control for ISD::FMAD formation (details)
  4. [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial (details)
Commit 57ee0435bd47f23f3939f402914c231b4f65ca5e by djordje.todorovic
[TII] Use optional destination and source pair as a return value; NFC
Refactor usage of isCopyInstrImpl, isCopyInstr and isAddImmediate
methods to return optional machine operand pair of destination and
source registers.
Patch by Nikola Prica
Differential Revision: https://reviews.llvm.org/D69622
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEInstrInfo.h
The file was modifiedllvm/lib/Target/Mips/MipsSEInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
Commit bc56166281ae025fcbe701bdb3a02b488bcedc09 by arsenm2
AMDGPU: Simplify getAddressSpace calls
These can be directly taken from the GlobalValue instead of going
through the type.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
Commit 1725f2884175ca618d29b06e35f5c6ebd618053d by arsenm2
DAG: Add new control for ISD::FMAD formation
For AMDGPU this depends on whether denormals are enabled in the default
FP mode for the function. Currently this is treated as a subtarget
feature, so FMAD is selectively legal based on that. I want to move this
out of the subtarget features so this can be controlled with a denormal
mode attribute. Additionally, this will allow folding based on a future
ftz fast math flag.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 8d7bd57526486cab9e3daba9934042c405d7946b by mitchell
[clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial
"&ref" Parameter
Summary: This fixes an edge case in the `SpacesInSquareBrackets` option
where an initial `&ref` lambda parameter is not padded with an initial
space.
`int foo = [&bar ]() {}` is fixed to give `int foo = [ &bar ]() {}`
Reviewers: MyDeveloperDay, klimek, sammccall
Reviewed by: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang, #clang-format
Differential Revision: https://reviews.llvm.org/D69649
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp