13 lines · plain
1; Check info on flat address space memory accesses when the target is amdgpu.2;3; The target matters because kernel-info calls4; TargetTransformInfo::getFlatAddressSpace to select the flat address space.5 6; REQUIRES: amdgpu-registered-target7 8; RUN: opt -pass-remarks=kernel-info -passes=kernel-info \9; RUN: -mtriple="amdgcn-amd-amdhsa" \10; RUN: -disable-output %S/Inputs/test.ll 2>&1 | \11; RUN: FileCheck -match-full-lines -implicit-check-not='flat address space' \12; RUN: %S/Inputs/test.ll13