diff --git a/llvm/test/Transforms/FunctionImport/cg_profile.ll b/llvm/test/Transforms/FunctionImport/cg_profile.ll index b61faa5e5ae77..e457aa6cb8828 100644 --- a/llvm/test/Transforms/FunctionImport/cg_profile.ll +++ b/llvm/test/Transforms/FunctionImport/cg_profile.ll @@ -1,7 +1,7 @@ ; Check that bitcast in "CG Profile" related metadata nodes (in this test case, ; generated during function importing in IRMover's RAUW operations) are accepted ; by verifier. -; RUN: opt -cg-profile -module-summary %s -o %t.bc +; RUN: opt -passes=cg-profile -module-summary %s -o %t.bc ; RUN: opt -module-summary %p/Inputs/cg_profile.ll -o %t2.bc ; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc ; RUN: opt -function-import -print-imports -summary-file %t3.thinlto.bc %t.bc \