[all-commits] [llvm/llvm-project] ea1bd9: AMDGPU/GlobalISel: Make G_IMPLICIT_DEF legality mo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 10 08:06:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea1bd95411c3a709ef1a405ffed9880351fe530e
      https://github.com/llvm/llvm-project/commit/ea1bd95411c3a709ef1a405ffed9880351fe530e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-freeze.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-implicit-def.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Make G_IMPLICIT_DEF legality more consistent

Makes <6 x s16> legal, <4 x s8> illegal, and clamps the maximum size
to 1024.


  Commit: 0f2af15c1b00a08b84b780143001e04a25994628
      https://github.com/llvm/llvm-project/commit/0f2af15c1b00a08b84b780143001e04a25994628
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

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

  Log Message:
  -----------
  GlobalISel: Make default implementation of legalizeCustom unreachable

If the target explicitly requested custom legalization, it should be
required to implement this. Also move default legalizeIntrinsic
implementation into the header so it's next to the related
legalizeCustom.


Compare: https://github.com/llvm/llvm-project/compare/47934c7cf9f6...0f2af15c1b00


More information about the All-commits mailing list