[all-commits] [llvm/llvm-project] b6ebc7: AMDGPU/GlobalISel: Fix selecting llvm.amdgcn.s.getreg

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 28 18:35:54 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.getreg.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix selecting llvm.amdgcn.s.getreg

This introduces the same bug llvm.amdgcn.s.setreg has where if the
user specified an immediate outside of the valid 16-bit range, it will
select into a verifier error.


  Commit: 44211f20a82418b20a69df9de6291d923dcbf709
      https://github.com/llvm/llvm-project/commit/44211f20a82418b20a69df9de6291d923dcbf709
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
    A llvm/test/CodeGen/AMDGPU/optimize-exec-copies-extra-insts-after-copy.mir

  Log Message:
  -----------
  AMDGPU: Optimize copies to exec with other insts after exec def

It's possible to have terminator instructions after a write to exec,
so skip over them to find it.


Compare: https://github.com/llvm/llvm-project/compare/706d992cedaf...44211f20a824


More information about the All-commits mailing list