Add tests for more complicated flat 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
 
Paths 
  |  Differential  D145081  
AMDGPU: Add more flat scratch load and store tests for 8 and 16-bit types ClosedPublic Authored by Petar.Avramovic on Mar 1 2023, 10:04 AM. 
Details Summary Add tests for more complicated flat scratch load and store patterns. 
 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 2 2023, 3:18 AM Closed by commit rGc77bd1fe15fe: AMDGPU: Add more flat scratch load and store tests for 8 and 16-bit types (authored by Petar.Avramovic).  ·  Explain WhyMar 2 2023, 4:21 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 501562 llvm/test/CodeGen/AMDGPU/flat-scratch-i8-i16.ll
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||