[all-commits] [llvm/llvm-project] 5290f5: [AMDGPU] Fix off by one in assert

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Wed Oct 21 03:46:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5290f50e44b632c22800df15c691394e768796be
      https://github.com/llvm/llvm-project/commit/5290f50e44b632c22800df15c691394e768796be
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

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

  Log Message:
  -----------
  [AMDGPU] Fix off by one in assert

D89217 did not subtract one when accessing SubRegFromChannelTable in one
place.

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




More information about the All-commits mailing list