aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/builtin_set_flt_rounds.c
blob: c5c8e905dbd4f8ec1c2df7a243a6bdac4c3c15d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple x86_64-gnu-linux %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple x86_64-windows-msvc %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-gnu-linux %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-windows-msvc %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple powerpc64-ibm-aix %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple powerpc-ibm-aix %s -emit-llvm -o - | FileCheck %s
void test_builtin_set_flt_rounds() {
  __builtin_set_flt_rounds(1);
  // CHECK: call void @llvm.set.rounding(i32 1)
}