[all-commits] [llvm/llvm-project] ac8d51: AMDGPU/GlobalISel: Legalize 16-bit shift amounts t...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Apr 11 15:12:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac8d51a3c6855755c41e27645287c4d3b84608a1
      https://github.com/llvm/llvm-project/commit/ac8d51a3c6855755c41e27645287c4d3b84608a1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-04-11 (Sat, 11 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.s16.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.s16.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.s16.mir
    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-sext.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Legalize 16-bit shift amounts to s16

The current selector depends on 16-bit shifts using 16-bit shift
amount types, but really it should accept either for all types.




More information about the All-commits mailing list