[llvm] [AMDGPU] Support FLAT_SCRATCH in SILoadStoreOptimizer const offset promotion (PR #212507)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 06:32:43 PDT 2026


================
@@ -5,8 +5,11 @@
 ; RUN: llc -mtriple=amdgpu9.0a < %s | FileCheck -check-prefixes=GFX9,GFX90A %s
 ; RUN: llc -mtriple=amdgpu11.00 -mattr=+real-true16 < %s | FileCheck -check-prefixes=GFX11,GFX11-TRUE16 %s
 ; RUN: llc -mtriple=amdgpu11.00 -mattr=-real-true16 < %s | FileCheck -check-prefixes=GFX11,GFX11-FAKE16 %s
+; RUN: llc -mtriple=amdgpu9.00 -mattr=+enable-flat-scratch < %s | FileCheck -check-prefixes=GFX9-FLATSCR %s
----------------
aobolensk wrote:

Done in https://github.com/llvm/llvm-project/pull/225397

https://github.com/llvm/llvm-project/pull/212507


More information about the llvm-commits mailing list