Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / MachO / cspgo-gen.ll
blob00c86aeb0e55fff779c7aa99ffdce9eaf2fb5993
1 ; REQUIRES: x86
3 ; RUN: llvm-as %s -o %t.o
4 ; RUN: %lld -dylib --cs-profile-generate --cs-profile-path=default_%m.profraw %t.o -o %t --lto-debug-pass-manager 2>&1 | FileCheck %s --implicit-check-not=PGOInstrumentation
6 ; CHECK: PGOInstrumentationGen
8 target triple = "x86_64-apple-darwin"
9 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
11 @__llvm_profile_runtime = global i32 0, align 4
13 define void @foo() {
14 entry:
15   ret void