[all-commits] [llvm/llvm-project] 68d90c: [AMDGPU][GlobalISel] Fix assert on APInt creation....

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Tue Jan 28 06:53:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68d90cff580fe181ad28247584d32837f3b9940e
      https://github.com/llvm/llvm-project/commit/68d90cff580fe181ad28247584d32837f3b9940e
  Author: Daniil Fukalov <dfukalov at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Fix assert on APInt creation. (#124608)

Since 3494ee95902cef62f767489802e469c58a13ea04 APInt stopped to
implicitly truncate values, therefore it asserts on a big signed value
converted to (implicitly) unsigned APInt.

The change explicitly marks offset as a signed value.



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