[all-commits] [llvm/llvm-project] 16ea23: AMDGPU: Clear subreg when folding immediate copies

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jul 1 10:59:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16ea23ff78fafde15bf8b13a0ff503a0dda80ce3
      https://github.com/llvm/llvm-project/commit/16ea23ff78fafde15bf8b13a0ff503a0dda80ce3
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
    M llvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll

  Log Message:
  -----------
  AMDGPU: Clear subreg when folding immediate copies

This was getting reinterpreted as operand target flags, and appearing
as as <unknown target flag>, resulting in unparseable MIR.


  Commit: a21544ad11fe443f4c38161630d3f2fc90d098bf
      https://github.com/llvm/llvm-project/commit/a21544ad11fe443f4c38161630d3f2fc90d098bf
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/machine-cse-commute-target-flags.mir

  Log Message:
  -----------
  AMDGPU: Fix handling of target flags when commuting instruction

If the original register operand had a subregister, it wasn't getting
cleared. This resulted in reinterpreted the subreg index as
unrecognized target flags, which produced unparseable MIR.


  Commit: 14fe4607f15ecfc3e9423ddb35d025d1f1b67be5
      https://github.com/llvm/llvm-project/commit/14fe4607f15ecfc3e9423ddb35d025d1f1b67be5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/lds-relocs.ll
    M llvm/test/CodeGen/AMDGPU/machine-cse-commute-target-flags.mir

  Log Message:
  -----------
  AMDGPU: Support commuting register and global operand


  Commit: ba3bafe46a474dca34155043c8cc0ea603db2214
      https://github.com/llvm/llvm-project/commit/ba3bafe46a474dca34155043c8cc0ea603db2214
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir

  Log Message:
  -----------
  AMDGPU: Convert AGPR copy test to generated checks


Compare: https://github.com/llvm/llvm-project/compare/3367e9dac560...ba3bafe46a47


More information about the All-commits mailing list