[all-commits] [llvm/llvm-project] 35ad66: AMDGPU/GlobalISel: Widen 16-bit shift amount sources

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 9 13:29:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 35ad66fae811c36823b2b91368f142c9d35b8414
      https://github.com/llvm/llvm-project/commit/35ad66fae811c36823b2b91368f142c9d35b8414
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Widen 16-bit shift amount sources

This should be legal, but will require future selection work. 16-bit
shift amounts were already removed from being legal, but this didn't
adjust the transformation rules.


  Commit: 767aa507a464e46b9a5aaed8cfec0a621f8fc599
      https://github.com/llvm/llvm-project/commit/767aa507a464e46b9a5aaed8cfec0a621f8fc599
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix argument lowering for vectors of pointers

When these arguments are broken down by the EVT based callbacks, the
pointer information is lost. Hack around this by coercing the register
types to be the expected pointer element type when building the
remerge operations.


  Commit: fba1fbb9c7367990a0561a36dbf600fc51847246
      https://github.com/llvm/llvm-project/commit/fba1fbb9c7367990a0561a36dbf600fc51847246
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp

  Log Message:
  -----------
  GlobalISel: Don't assert on MoreElements creating vectors

If the original type was a scalar, it should be valid to add elements
to turn it into a vector.

Tests included with following legalization change.


  Commit: f937b43fdb30b67facf616ad394976b08001ee89
      https://github.com/llvm/llvm-project/commit/f937b43fdb30b67facf616ad394976b08001ee89
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
    M llvm/test/TableGen/GlobalISelEmitter.td
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  TableGen/GlobalISel: Address fixme

Don't call computeAvailableFunctionFeatures for every instruction.


Compare: https://github.com/llvm/llvm-project/compare/0c195ef7c62d...f937b43fdb30


More information about the All-commits mailing list