[all-commits] [llvm/llvm-project] fd2e86: AMDGPU: Fix inst-selection of large scratch offset...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Mon Sep 30 01:41:32 PDT 2024


  Branch: refs/heads/users/petar-avramovic/scratch-large-offset-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: fd2e8666b31054b61201607620165fb8dce1ebea
      https://github.com/llvm/llvm-project/commit/fd2e8666b31054b61201607620165fb8dce1ebea
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll

  Log Message:
  -----------
  AMDGPU: Fix inst-selection of large scratch offsets with sgpr base

Use i32 for offset instead of i16, this way it does not get interpreted
as negative 16 bit offset.



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