[all-commits] [llvm/llvm-project] c3e07a: [AMDGPU] SIInsertSkips: Refactor early exit block ...

Carl Ritson via All-commits all-commits at lists.llvm.org
Mon Oct 5 17:57:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3e07a0018ec74216d662e0596584d2c846a1063
      https://github.com/llvm/llvm-project/commit/c3e07a0018ec74216d662e0596584d2c846a1063
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertSkips.cpp

  Log Message:
  -----------
  [AMDGPU] SIInsertSkips: Refactor early exit block creation

Refactor exit block creation to a single call ensureEarlyExitBlock.
Add support for generating an early exit block which clears the
exec mask, but only add this instruction when required.
These changes are to facilitate adding more forms of early
termination for PS shaders in the near future.

Reviewed By: nhaehnle

Differential Revision: https://reviews.llvm.org/D88775




More information about the All-commits mailing list