SuccessChanges

Summary

  1. Revert "[NFC, StackSafety] Change type of internal container" (details)
  2. Replace dyn_cast<>() with isa<>() when the result isn't used (NFC) (details)
  3. [AMDGPU] Make SGPR spills exec mask agnostic (details)
Commit f9bb101d394d62027ba33e132691540f1e63cea8 by joker.eph
Revert "[NFC, StackSafety] Change type of internal container"

This reverts commit f62813e7eae148a6175de28bfa384524a9f2bf94.
GCC 5.3 build is broken.
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit a09bb6d77b39d3f87c76b525b355e158245a63cd by joker.eph
Replace dyn_cast<>() with isa<>() when the result isn't used (NFC)

Fixed warning reported by some GCC version.
The file was modifiedmlir/lib/TableGen/Operator.cpp
Commit da33c96d4762e0e59f1eff16f60d5c1575490331 by carl.ritson
[AMDGPU] Make SGPR spills exec mask agnostic

Explicitly set the exec mask for SGPR spills and reloads.
This fixes a bug where SGPR spills to memory could be incorrect
if the exec mask was 0 (or differed between spill and reload).

Additionally pack scalar subregisters (upto 16/32 per VGPR),
so that the majority of scalar types can be spilt or reloaded
with a simple memory access.  This should amortize some of the
additional overhead of manipulating the exec mask.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D80282
The file was modifiedllvm/test/CodeGen/AMDGPU/partial-sgpr-to-vgpr-spills.ll
The file was addedllvm/test/CodeGen/AMDGPU/sgpr-spill.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp