blob: 7447dcf51cc895590dd7b9513842e0e92d886583 [file] [log] [blame] [edit]
; Check info on flat address space memory accesses when the target is amdgpu.
;
; The target matters because kernel-info calls
; TargetTransformInfo::getFlatAddressSpace to select the flat address space.
; REQUIRES: amdgpu-registered-target
; RUN: opt -pass-remarks=kernel-info -passes=kernel-info \
; RUN: -mtriple="amdgcn-amd-amdhsa" \
; RUN: -disable-output %S/Inputs/test.ll 2>&1 | \
; RUN: FileCheck -match-full-lines -implicit-check-not='flat address space' \
; RUN: %S/Inputs/test.ll