[all-commits] [llvm/llvm-project] 04bd5b: [AMDGPU] Fix not rescheduling without clustering

Austin Kerbow via All-commits all-commits at lists.llvm.org
Fri Aug 7 11:17:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04bd5b52862098945a8bb9449d6accc120304cb5
      https://github.com/llvm/llvm-project/commit/04bd5b52862098945a8bb9449d6accc120304cb5
  Author: Vang Thao <vangth1995 at gmail.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit-clustering.ll

  Log Message:
  -----------
  [AMDGPU] Fix not rescheduling without clustering

Regions are sometimes skipped which should be rescheduled without memory op
clustering. RegionIdx is not incremented when iterating over regions that
are flagged to be skipped, causing the index to be incorrect.

Thanks to Vang Thao for discovering this bug!

Reviewed By: rampitec

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




More information about the All-commits mailing list