brintos

brintos / llvm-project-archived public Read only

0
0
Text · 435 B · c98a1fd Raw
13 lines · plain
1;; Ensure we invoke the preinliner when feeding back a memprof profile.2 3;; The opt invocation will fail as the profdata file is empty, which is fine4;; since we are simply testing the pass pipeline below.5; RUN: not opt -debug-pass-manager -passes='default<O2>' -memory-profile-file=/dev/null %s 2>&1 | FileCheck %s6 7; CHECK: Running pass: InlinerPass on (foo)8; CHECK: Running pass: MemProfUsePass9 10define void @foo() {11  ret void12}13