brintos

brintos / llvm-project-archived public Read only

0
0
Text · 688 B · 6f6d87f Raw
16 lines · plain
1/// This file checks options are correctly passed to as for LoongArch targets.2 3/// Check `-mabi`.4// RUN: %clang --target=loongarch64 -### -fno-integrated-as -c %s 2>&1 | \5// RUN:   FileCheck -DABI=lp64d --check-prefix=ABI %s6// RUN: %clang --target=loongarch64 -mabi=lp64d -### -fno-integrated-as -c %s 2>&1 | \7// RUN:   FileCheck -DABI=lp64d --check-prefix=ABI %s8// RUN: %clang --target=loongarch64 -mabi=lp64f -### -fno-integrated-as -c %s 2>&1 | \9// RUN:   FileCheck -DABI=lp64f --check-prefix=ABI %s10// RUN: %clang --target=loongarch64 -mabi=lp64s -### -fno-integrated-as -c %s 2>&1 | \11// RUN:   FileCheck -DABI=lp64s --check-prefix=ABI %s12 13// ALL: as14 15// ABI: "-mabi=[[ABI]]"16