[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGen / large-data-threshold.c
blob29ae19e9b71899421af67c038ee2005067c2abd7
1 // REQUIRES: x86-registered-target
3 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm %s -o - -mcmodel=medium | FileCheck %s --check-prefix=IR-DEFAULT
4 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm %s -o - -mcmodel=medium -mlarge-data-threshold=200 | FileCheck %s --check-prefix=IR-CUSTOM
5 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -S %s -o - -mcmodel=medium -mlarge-data-threshold=200 | FileCheck %s --check-prefix=ASM-SMALL
6 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -S %s -o - -mcmodel=medium -mlarge-data-threshold=2 | FileCheck %s --check-prefix=ASM-LARGE
8 // IR-DEFAULT: !{i32 1, !"Large Data Threshold", i64 65535}
9 // IR-CUSTOM: !{i32 1, !"Large Data Threshold", i64 200}
11 // ASM-SMALL-NOT: movabsq
12 // ASM-LARGE: movabsq
14 static int i;
16 int f() {
17 return i;