From 59fafdd8153324f8ed3fe21d90b08fb3a68c1a07 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 16 Jul 2022 01:10:39 -0700 Subject: [PATCH] [test] Migrate FunctionImport/cg_profile.ll to new PM --- llvm/test/Transforms/FunctionImport/cg_profile.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/FunctionImport/cg_profile.ll b/llvm/test/Transforms/FunctionImport/cg_profile.ll index b61faa5..e457aa6 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 \ -- 2.7.4