[all-commits] [llvm/llvm-project] 1e0500: [AMDGPU] Consider all SGPR uses as unique in const...

Carl Ritson via All-commits all-commits at lists.llvm.org
Wed Sep 23 18:53:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e0500d4f7f19b3eae0f9b6f05591a40188d8d99
      https://github.com/llvm/llvm-project/commit/1e0500d4f7f19b3eae0f9b6f05591a40188d8d99
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/verify-constant-bus-violations.mir

  Log Message:
  -----------
  [AMDGPU] Consider all SGPR uses as unique in constant bus verify

Fix the verifier so that overlapping SGPR operands are counted
independently.  We cannot assume that overlapping SGPR accesses
only count as a single constant bus use.
The exception is implicit uses which do not add to constant bus
usage (only) when overlapping.

Reviewed By: rampitec

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




More information about the All-commits mailing list