[PATCH] D153924: [OpenMP] Allow exceptions in target regions when offloading to GPUs
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 19 13:01:25 PDT 2023
jhuber6 added inline comments.
================
Comment at: clang/test/OpenMP/amdgpu_exceptions.cpp:11
+// RUN: %clang_cc1 -fopenmp -triple amdgcn-amd-amdhsa -fopenmp-is-target-device -fexceptions %s -emit-llvm -S -verify=with -Wopenmp-target-exception -o - &> /dev/null
+// RUN: %clang_cc1 -fopenmp -triple amdgcn-amd-amdhsa -fopenmp-is-target-device %s -emit-llvm -S -verify=with -Wopenmp-target-exception -o - &> /dev/null
+
----------------
jdoerfert wrote:
> Can we use /dev/null? Do other tests use it? I would expect -analyze or sth instead.
There's other tests, but I think that requires the shell or linux.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153924/new/
https://reviews.llvm.org/D153924
More information about the cfe-commits
mailing list