[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / profile-sample-accurate.c
blob3e4a152e527408b6479e7553ea3797ebe1e290fe
1 // Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
2 // RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
4 // CHECK: define{{.*}} void @foo()
5 // CHECK: attributes{{.*}} "profile-sample-accurate"
6 void foo(void) {