[all-commits] [llvm/llvm-project] 201f77: GlobalISel: Add and_trivial_mask to all_combines

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Aug 27 13:42:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 201f770f16e8ea89e92a1edd79c41559f4031187
      https://github.com/llvm/llvm-project/commit/201f770f16e8ea89e92a1edd79c41559f4031187
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/bswap.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i8.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-and.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/shl-ext-reduce.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/shl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll

  Log Message:
  -----------
  GlobalISel: Add and_trivial_mask to all_combines

Also make up a new category of combines.


  Commit: a1bc37c9e54e0163bc6ccb7a438a68047310ccff
      https://github.com/llvm/llvm-project/commit/a1bc37c9e54e0163bc6ccb7a438a68047310ccff
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

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

  Log Message:
  -----------
  AMDGPU: Use caller subtarget, not intrinsic declaration

Intrinsic declarations use the default subtarget, but this should be
using the subtarget for the calling function. I haven't been able to
come up with a case where it matters though.


Compare: https://github.com/llvm/llvm-project/compare/4ef9275b9b48...a1bc37c9e54e


More information about the All-commits mailing list