[flang-commits] [flang] 4ea6cee - Add test case back but with !REQUIRES: amdgpu-registered-target.

Jan Sjodin via flang-commits flang-commits at lists.llvm.org
Thu Jul 13 07:53:36 PDT 2023


Author: Jan Sjodin
Date: 2023-07-13T10:53:18-04:00
New Revision: 4ea6cee22ba8d66cd1bd7a33a07670e206b89fe4

URL: https://github.com/llvm/llvm-project/commit/4ea6cee22ba8d66cd1bd7a33a07670e206b89fe4
DIFF: https://github.com/llvm/llvm-project/commit/4ea6cee22ba8d66cd1bd7a33a07670e206b89fe4.diff

LOG: Add test case back but with !REQUIRES: amdgpu-registered-target.

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/omp-target-early-outlining.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenMP/omp-target-early-outlining.f90 b/flang/test/Lower/OpenMP/omp-target-early-outlining.f90
index e6100cadea4685..eb057f74bed693 100644
--- a/flang/test/Lower/OpenMP/omp-target-early-outlining.f90
+++ b/flang/test/Lower/OpenMP/omp-target-early-outlining.f90
@@ -1,3 +1,6 @@
+!REQUIRES: amdgpu-registered-target
+
+!RUN: %flang_fc1 -triple amdgcn-amd-amdhsa -emit-fir -fopenmp -fopenmp-is-device %s -o - | FileCheck %s
 !RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-fir -fopenmp -fopenmp-is-device %s -o - | FileCheck %s
 
 !CHECK:  func.func @_QPwrite_index_omp_outline_0(%[[ARG0:.*]]: !fir.ref<i32>) attributes {omp.declare_target = #omp.declaretarget<device_type = (host), capture_clause = (to)>, omp.outline_parent_name = "_QPwrite_index"} {


        


More information about the flang-commits mailing list