[all-commits] [llvm/llvm-project] ce0d16: [NFC][AMDGPU] assert scoreboard index is in range

ldrumm via All-commits all-commits at lists.llvm.org
Fri Aug 25 05:31:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce0d16f574f5bd81086e124345b0fe8dc4bfd95d
      https://github.com/llvm/llvm-project/commit/ce0d16f574f5bd81086e124345b0fe8dc4bfd95d
  Author: Luke Drummond <luke.drummond at codeplay.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

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

  Log Message:
  -----------
  [NFC][AMDGPU] assert scoreboard index is in range

`getRegInterval` can theoretically return AGPRs or SGPRS which aren't
valid when updating the VgprMemTypes array. Make this clear with an
assert.




More information about the All-commits mailing list