[all-commits] [llvm/llvm-project] 107c95: AMDGPU/GlobalISel: Remove unnecessary parameter

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 20 18:16:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 107c954c1383956cc4d98d0015d4d380fb5604d9
      https://github.com/llvm/llvm-project/commit/107c954c1383956cc4d98d0015d4d380fb5604d9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h

  Log Message:
  -----------
  AMDGPU/GlobalISel: Remove unnecessary parameter


  Commit: 12d5bec8c79b9841f1b25fa87ffb69b9d3cbec3b
      https://github.com/llvm/llvm-project/commit/12d5bec8c79b9841f1b25fa87ffb69b9d3cbec3b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

  Log Message:
  -----------
  GlobalISel: Handle more cases in getGCDType

Try harder to find a canonical unmerge type when trying to cover the
desired target type. Handle finding a compatible unmerge type for two
vectors with different element types. This will return the largest
multiple of the source vector element that will evenly divide the
target vector type.

Also make the handling mixing scalars and vectors, and prefer the
source element type as the unmerge target type.


  Commit: 1ef3ed0eb49d39d6eda84dec7e702aee7f55e9ae
      https://github.com/llvm/llvm-project/commit/1ef3ed0eb49d39d6eda84dec7e702aee7f55e9ae
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

  Log Message:
  -----------
  GlobalISel: Rewrite getLCMType

Try to make the behavior more consistent with getGCDType, and bias
towards returning something closer to the source type whenever there's
an ambiguity.


Compare: https://github.com/llvm/llvm-project/compare/955f87f947fd...1ef3ed0eb49d


More information about the All-commits mailing list