================ @@ -0,0 +1,58 @@ +; RUN: llc -O2 -mtriple=amdgcn -mcpu=gfx1200 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=amdgcn -mcpu=gfx1200 -verify-machineinstrs < %s -o /dev/null + +; "VGPR as memory" objects (allocas in addrspace(13)) accessed at constant +; indices must lower to register copies, never to scratch/buffer memory traffic. + +; CHECK-LABEL: store_load_i32: +; CHECK-NOT: scratch_ +; CHECK-NOT: buffer_ ---------------- arsenm wrote:
Generate checks https://github.com/llvm/llvm-project/pull/205435 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
