[all-commits] [llvm/llvm-project] 2bca7d: [AMDGPU] Graceful abort for waterfalls in SIOptimi...

Carl Ritson via All-commits all-commits at lists.llvm.org
Mon Apr 11 22:16:28 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bca7d859ac23226c79f06b9aade03b7b27297e0
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
    M llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll

  Log Message:
  [AMDGPU] Graceful abort for waterfalls in SIOptimizeVGPRLiveRange

If the CFG structure of a waterfall loop is not the expected shape
then gracefully abort traversing the IR for the given loop.
This applies to nest waterfall loops which are not supported by
the VGPR live range optimizer.

Reviewed By: ruiling

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

More information about the All-commits mailing list