[all-commits] [llvm/llvm-project] 491cfa: AMDGPU/GlobalISel: Account for G_PHI result bank

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 30 07:24:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 491cfa4250d7a146131202ad33878ba398c7ae87
      https://github.com/llvm/llvm-project/commit/491cfa4250d7a146131202ad33878ba398c7ae87
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Account for G_PHI result bank

Sometimes the result bank of the phi is already assigned to something,
and should not be ignored. This is in preparation for additional
boolean phi handling changes.

Also refine the logic to fix some cases that were incorrectly deciding
to use SGPRs.


  Commit: 58bcf51107033a1b6ce77c365578d38bfb62062a
      https://github.com/llvm/llvm-project/commit/58bcf51107033a1b6ce77c365578d38bfb62062a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.round.f64.ll

  Log Message:
  -----------
  AMDGPU: Generate check lines


  Commit: 9e1a2a668b9d52bc76c92577ac01c301f95bb697
      https://github.com/llvm/llvm-project/commit/9e1a2a668b9d52bc76c92577ac01c301f95bb697
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/test/CodeGen/AMDGPU/llvm.round.f64.ll

  Log Message:
  -----------
  AMDGPU: Improve llvm.round.f64 lowering for CI+

The path already used for f16/f32 works a lot better when v_trunc_f64
is available.


Compare: https://github.com/llvm/llvm-project/compare/0f0330a78709...9e1a2a668b9d


More information about the All-commits mailing list