From: Gheorghe-Teodor Bercea Date: Thu, 29 Jun 2017 18:49:16 +0000 (+0000) Subject: [OpenMP] Fix test for revision D29645. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3636b96e18fc7810790b329c0629b0f9f4d2338b;p=clang [OpenMP] Fix test for revision D29645. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306724 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/openmp-offload.c b/test/Driver/openmp-offload.c index 567f3fdf22..7a0d62073b 100644 --- a/test/Driver/openmp-offload.c +++ b/test/Driver/openmp-offload.c @@ -592,10 +592,8 @@ /// ########################################################################### -/// Check -fopenmp-is-device is also passed when generating the *.i and *.s intermediate files. -// RUN: %clang -### -fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu -save-temps -no-canonical-prefixes %s 2>&1 \ +/// Check -fopenmp-is-device is passed when compiling for the device. +// RUN: %clang -### -fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu %s 2>&1 \ // RUN: | FileCheck -check-prefix=CHK-FOPENMP-IS-DEVICE %s -// CHK-FOPENMP-IS-DEVICE: clang{{.*}}.i" {{.*}}" "-fopenmp-is-device" -// CHK-FOPENMP-IS-DEVICE-NEXT: clang{{.*}}.bc" {{.*}}.i" "-fopenmp-is-device" "-fopenmp-host-ir-file-path" -// CHK-FOPENMP-IS-DEVICE-NEXT: clang{{.*}}.s" {{.*}}.bc" "-fopenmp-is-device" +// CHK-FOPENMP-IS-DEVICE: clang{{.*}} "-aux-triple" "powerpc64le-unknown-linux-gnu" {{.*}}.c" "-fopenmp-is-device" "-fopenmp-host-ir-file-path"