[all-commits] [llvm/llvm-project] 92fe6c: Silence illegal address computation warning (#83244)

Martin Wehking via All-commits all-commits at lists.llvm.org
Fri Mar 1 08:11:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92fe6c61f900d6479f7ab708784c9e62d7523768
      https://github.com/llvm/llvm-project/commit/92fe6c61f900d6479f7ab708784c9e62d7523768
  Author: Martin Wehking <martin.wehking at codeplay.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def

  Log Message:
  -----------
  Silence illegal address computation warning (#83244)

Add an assertion before an access of ValMappings to ensure that it is
within the array bounds.
Silence a static analyzer warning through this.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list