brintos

brintos / llvm-project-archived public Read only

0
0
Text · 995 B · 88fd4d2 Raw
18 lines · plain
1! RUN: not %flang -### -c --target=powerpc64le-unknown-linux -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=INVALID1 %s2! RUN: not %flang -### -c --target=x86_64-unknown-linux -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=INVALID2 %s3! RUN: not %flang -### -c --target=powerpc-unknown-aix -mabi=abc %s 2>&1 | FileCheck --check-prefix=INVALID3 %s4! RUN: %flang -### -c -target powerpc-unknown-aix %s 2>&1 | FileCheck --implicit-check-not=vec-extabi %s5! RUN: %flang -### -c -target powerpc-unknown-aix -mabi=vec-default %s 2>&1 | FileCheck --implicit-check-not=vec-extabi %s6! RUN: %flang -### -c -target powerpc-unknown-aix -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=EXTABI %s7 8! REQUIRES: target=powerpc{{.*}}9 10! INVALID1: error: unsupported option '-mabi=vec-extabi' for target '{{.*}}'11! INVALID2: error: unsupported option '-mabi=' for target '{{.*}}'12! INVALID3: error: unsupported argument 'abc' to option '-mabi='13 14! EXTABI: "-fc1"15! EXTABI-SAME: "-mabi=vec-extabi"16 17 18