SuccessChanges

Summary

  1. [gicombiner] Add parse failure tests for defs/match (details)
  2. AMDGPU: Fix the broken dominator tree when creating waterfall loop for (details)
  3. AMDGPU/GlobalISel: Handle flat/global G_ATOMIC_CMPXCHG (details)
Commit a6e1de4afc51560df18c95cb616dec51248ed660 by daniel_l_sanders
[gicombiner] Add parse failure tests for defs/match
The file was addedllvm/test/TableGen/GICombinerEmitter/defs-invalid.td
The file was addedllvm/test/TableGen/GICombinerEmitter/match-invalid.td
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 1ce552f3ef8d6455c10a9886191c1898594975e0 by changpeng.fang
AMDGPU: Fix the broken dominator tree when creating waterfall loop for
resource descriptor
Summary:
In loadSRsrcFromVGPR, if MBB is the same as Succ, Remiander is not the
immediate dominator of Succ.
Reviewer:
arsenm
Differential Revision:
https://reviews.llvm.org/D69358
The file was addedllvm/test/CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Commit 171cf5302f43776b07615e32b2ffd6ddf4e5d890 by arsenm2
AMDGPU/GlobalISel: Handle flat/global G_ATOMIC_CMPXCHG
Custom lower this to a target instruction with the merge operands. I
think it might be better to directly select this and emit a
REG_SEQUENCE, but this would be more work since it would require
splitting the tablegen patterns for these cases from the other atomics.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-atomic-cmpxchg-with-success.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/FLATInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-flat.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-atomic-cmpxchg.mir