1 /* { dg-additional-options -DOFFLOAD_DEVICE_GCN { target offload_device_gcn } } */
2 /* { dg-additional-options {-fdump-tree-optimized -foffload-options=-fdump-tree-optimized} } */
4 #include "declare-variant-4.h"
6 /* { dg-final { scan-tree-dump "= f \\(\\);" "optimized" } }
7 { dg-final { only_for_offload_target amdgcn-amdhsa scan-offload-tree-dump "= gfx\[^ \]+ \\(\\);" "optimized" { target offload_target_amdgcn } } }
8 { dg-final { only_for_offload_target nvptx-none scan-offload-tree-dump "= f \\(\\);" "optimized" { target offload_target_nvptx } } } */