brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.8 KiB · 12a81d6 Raw
54 lines · c
1// RUN: %clang --target=loongarch32-unknown-elf %s -fsyntax-only -### 2>&1 \2// RUN:   | FileCheck --check-prefix=ILP32D %s3// RUN: %clang --target=loongarch32-unknown-elf %s -fsyntax-only -### -mabi=ilp32s 2>&1 \4// RUN:   | FileCheck --check-prefix=ILP32S %s5// RUN: %clang --target=loongarch32-unknown-elf %s -fsyntax-only -### -mabi=ilp32f 2>&1 \6// RUN:   | FileCheck --check-prefix=ILP32F %s7// RUN: %clang --target=loongarch32-unknown-elf %s -fsyntax-only -### -mabi=ilp32d 2>&1 \8// RUN:   | FileCheck --check-prefix=ILP32D %s9 10// RUN: %clang --target=loongarch64-unknown-elf %s -fsyntax-only -### 2>&1 \11// RUN:   | FileCheck --check-prefix=LP64D %s12// RUN: %clang --target=loongarch64-unknown-elf %s -fsyntax-only -### -mabi=lp64s 2>&1 \13// RUN:   | FileCheck --check-prefix=LP64S %s14// RUN: %clang --target=loongarch64-unknown-elf %s -fsyntax-only -### -mabi=lp64f 2>&1 \15// RUN:   | FileCheck --check-prefix=LP64F %s16// RUN: %clang --target=loongarch64-unknown-elf %s -fsyntax-only -### -mabi=lp64d 2>&1 \17// RUN:   | FileCheck --check-prefix=LP64D %s18 19// RUN: %clang --target=loongarch32-linux-gnusf %s -fsyntax-only -### 2>&1 \20// RUN:   | FileCheck --check-prefix=ILP32S %s21// RUN: %clang --target=loongarch32-linux-gnuf32 %s -fsyntax-only -### 2>&1 \22// RUN:   | FileCheck --check-prefix=ILP32F %s23// RUN: %clang --target=loongarch32-linux-gnuf64 %s -fsyntax-only -### 2>&1 \24// RUN:   | FileCheck --check-prefix=ILP32D %s25// RUN: %clang --target=loongarch32-linux-gnu %s -fsyntax-only -### 2>&1 \26// RUN:   | FileCheck --check-prefix=ILP32D %s27 28// RUN: %clang --target=loongarch64-linux-gnusf %s -fsyntax-only -### 2>&1 \29// RUN:   | FileCheck --check-prefix=LP64S %s30// RUN: %clang --target=loongarch64-linux-gnuf32 %s -fsyntax-only -### 2>&1 \31// RUN:   | FileCheck --check-prefix=LP64F %s32// RUN: %clang --target=loongarch64-linux-gnuf64 %s -fsyntax-only -### 2>&1 \33// RUN:   | FileCheck --check-prefix=LP64D %s34// RUN: %clang --target=loongarch64-linux-gnu %s -fsyntax-only -### 2>&1 \35// RUN:   | FileCheck --check-prefix=LP64D %s36 37// Check that -mabi prevails in case of conflicts with the triple-implied ABI.38// RUN: %clang --target=loongarch32-linux-gnuf64 %s -fsyntax-only -### -mabi=ilp32s 2>&1 \39// RUN:   | FileCheck --check-prefix=ILP32S %s40// RUN: %clang --target=loongarch64-linux-gnuf64 %s -fsyntax-only -### -mabi=lp64s 2>&1 \41// RUN:   | FileCheck --check-prefix=LP64S %s42// RUN: %clang --target=loongarch32-linux-gnu %s -fsyntax-only -### -mabi=ilp32s 2>&1 \43// RUN:   | FileCheck --check-prefix=ILP32S %s44// RUN: %clang --target=loongarch64-linux-gnu %s -fsyntax-only -### -mabi=lp64s 2>&1 \45// RUN:   | FileCheck --check-prefix=LP64S %s46 47// ILP32S: "-target-abi" "ilp32s"48// ILP32F: "-target-abi" "ilp32f"49// ILP32D: "-target-abi" "ilp32d"50 51// LP64S: "-target-abi" "lp64s"52// LP64F: "-target-abi" "lp64f"53// LP64D: "-target-abi" "lp64d"54