[all-commits] [llvm/llvm-project] 42ca20: [AMDGPU] Insert PS early exit at end of control flow

Carl Ritson via All-commits all-commits at lists.llvm.org
Thu Jul 2 22:06:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ca2070d7de8594bf3880a74d7e4454a244b266
      https://github.com/llvm/llvm-project/commit/42ca2070d7de8594bf3880a74d7e4454a244b266
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll
    M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll

  Log Message:
  -----------
  [AMDGPU] Insert PS early exit at end of control flow

Exit early if the exec mask is zero at the end of control flow.
Mark the ends of control flow during control flow lowering and
convert these to exits during the insert skips pass.

Reviewed By: nhaehnle

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




More information about the All-commits mailing list