Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / swift-call-conv.c
blobc5972541b4b177bf19be467cb5707151f927cc5a
1 // RUN: %clang_cc1 -triple aarch64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s
4 // REQUIRES: aarch64-registered-target,arm-registered-target,x86-registered-target
6 void __attribute__((__swiftcall__)) f(void) {}
7 // CHECK-LABEL: define dso_local swiftcc void @f()
9 void __attribute__((__swiftasynccall__)) f_async(void) {}
10 // CHECK-LABEL: define dso_local swifttailcc void @f_async()