Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / attr-btf_tag-dicomposite-2.c
blobff0d5178274239485fc2528113f8b3098cbf1fa8
1 // REQUIRES: x86-registered-target
2 // RUN: %clang -target x86_64 -g -S -emit-llvm -o - %s | FileCheck %s
4 #define __tag1 __attribute__((btf_decl_tag("tag1")))
5 #define __tag2 __attribute__((btf_decl_tag("tag2")))
7 struct __tag1 __tag2 t1;
9 int foo(struct t1 *arg) {
10 return (int)(long)arg;
13 // CHECK: define dso_local i32 @foo(
14 // CHECK-NOT: annotations