]> granicus.if.org Git - clang/commitdiff
[OpenMP] Fix test for revision D29645. NFC
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Thu, 29 Jun 2017 18:49:16 +0000 (18:49 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Thu, 29 Jun 2017 18:49:16 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306724 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/openmp-offload.c

index 567f3fdf2239f2c2c51af124cc51396f6311cac1..7a0d62073b6bbba9cb6b62b2776534656bc4b90c 100644 (file)
 
 /// ###########################################################################
 
-/// 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"