Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / builtin_set_flt_rounds.c
blobfc483fcc232aa40db1cd99d454526a2da0e13460
1 // RUN: %clang_cc1 -triple x86_64-gnu-linux %s -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-windows-msvc %s -emit-llvm -o - | FileCheck %s
3 // RUN: %clang_cc1 -triple aarch64-gnu-linux %s -emit-llvm -o - | FileCheck %s
4 // RUN: %clang_cc1 -triple aarch64-windows-msvc %s -emit-llvm -o - | FileCheck %s
5 void test_builtin_set_flt_rounds() {
6 __builtin_set_flt_rounds(1);
7 // CHECK: call void @llvm.set.rounding(i32 1)