blob: 02321c19e022ddce7d4313778aaaee258141de85 [file] [log] [blame]
; Check info on flat address space memory accesses when the target is nvptx.
;
; The target matters because kernel-info calls
; TargetTransformInfo::getFlatAddressSpace to select the flat address space.
; REQUIRES: nvptx-registered-target
; RUN: opt -pass-remarks=kernel-info -passes=kernel-info \
; RUN: -mtriple="nvptx64-nvidia-cuda" \
; 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