[all-commits] [llvm/llvm-project] c77bd1: AMDGPU: Add more flat scratch load and store tests...

petar-avramovic via All-commits all-commits at lists.llvm.org
Thu Mar 2 04:22:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c77bd1fe15fe253df71c95cbf6272390056b50ef
      https://github.com/llvm/llvm-project/commit/c77bd1fe15fe253df71c95cbf6272390056b50ef
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/flat-scratch-i8-i16.ll

  Log Message:
  -----------
  AMDGPU: Add more flat scratch load and store tests for 8 and 16-bit types

Add tests for more complicated scratch load and store patterns.
Includes:
- sign and zero extending loads of i8 and i16 to i32 into 32-bit register
- D16 instructions that affect only high or low 16 bits of 32-bit register
 - D16 sign and zero extending loads of i8 to i16 into high or low 16 bits
   of 32-bit register
 - D16 loads of i16 to high or low 16 bits of 32-bit register
 - D16 stores of i8 and i16 from high 16 bits of 32-bit register

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




More information about the All-commits mailing list