1 ;; Ensure we invoke the preinliner when feeding back a memprof profile.
3 ;; The opt invocation will fail as the profdata file is empty, which is fine
4 ;; 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 %s
7 ; CHECK: Running pass: InlinerPass on (foo)
8 ; CHECK: Running pass: MemProfUsePass