forked from OSchip/llvm-project
Make tests slightly more flexible for platforms which emit arguments in between some of the expected arguments.
This commit is contained in:
parent
bec8dff33e
commit
c952754206
|
@ -5,9 +5,9 @@
|
|||
// RUN: | FileCheck %s
|
||||
|
||||
// verify the tools invocations
|
||||
// CHECK: "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-llvm-bc"{{.*}}"-x" "c"
|
||||
// CHECK: "-cc1" "-triple" "x86_64-unknown-linux-gnu"{{.*}}"-emit-llvm-bc"{{.*}}"-x" "c"
|
||||
// CHECK: "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu"{{.*}}"-target-cpu" "gfx906"{{.*}}"-fcuda-is-device"{{.*}}"-mlink-builtin-bitcode" "{{.*}}libomptarget-amdgpu-gfx906.bc"
|
||||
// CHECK: "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
|
||||
// CHECK: "-cc1" "-triple" "x86_64-unknown-linux-gnu"{{.*}}"-emit-obj"
|
||||
// CHECK: clang-linker-wrapper{{.*}}"--"{{.*}} "-o" "a.out"
|
||||
|
||||
// RUN: %clang -ccc-print-phases --target=x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx906 %s 2>&1 \
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
// RUN: | FileCheck %s
|
||||
|
||||
// verify the tools invocations
|
||||
// CHECK: clang{{.*}}"-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-llvm-bc"{{.*}}"-x" "c"
|
||||
// CHECK: clang{{.*}}"-cc1" "-triple" "x86_64-unknown-linux-gnu"{{.*}}"-emit-llvm-bc"{{.*}}"-x" "c"
|
||||
// CHECK: clang{{.*}}"-cc1" "-triple" "nvptx64-nvidia-cuda" "-aux-triple" "x86_64-unknown-linux-gnu"{{.*}}"-target-cpu" "sm_52"
|
||||
// CHECK: clang{{.*}}"-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
|
||||
// CHECK: clang{{.*}}"-cc1" "-triple" "x86_64-unknown-linux-gnu"{{.*}}"-emit-obj"
|
||||
// CHECK: clang-linker-wrapper{{.*}}"--"{{.*}} "-o" "a.out"
|
||||
|
||||
// RUN: %clang -ccc-print-phases --target=x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target=nvptx64-nvidia-cuda -march=sm_52 %s 2>&1 \
|
||||
|
|
Loading…
Reference in New Issue