SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. GlobalISel: Move extension scalar narrowing to separate function (details)
  2. GlobalISel: Don't ignore requested ext narrowing type (details)
  3. AMDGPU/GlobalISel: Improve lowering of G_SEXT_INREG (details)
  4. AMDGPU: Update more tests to use modern buffer intrinsics (details)
Commit be31a7b7eec8ed7c033f3087dd88e8fd685c3ded by arsenm2
GlobalISel: Move extension scalar narrowing to separate function
Also rename a few things. Handling a different requested type will
require this to become much more complex.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit a66d2817ca9e1dd72674627b18aec80d077910f0 by arsenm2
GlobalISel: Don't ignore requested ext narrowing type
This was assuming the narrow target was the source type. Respect the
requested type when these don't match by using intermediate merges. This
avoids producing very wide, illegal shift expansions.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-sext-zext-128.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit e12b840abfcde8ec02062fa7600348ad4623d049 by arsenm2
AMDGPU/GlobalISel: Improve lowering of G_SEXT_INREG
Clamping the scalar is much better than lowering with superwide shifts
for types > s64.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
Commit 8945b23af590286d3a48e72d59348eb218bb7fbd by arsenm2
AMDGPU: Update more tests to use modern buffer intrinsics
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_buffer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/Transforms/StructurizeCFG/rebuild-ssa-infinite-loop.ll