[llvm] 59fafdd - [test] Migrate FunctionImport/cg_profile.ll to new PM
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 16 01:10:42 PDT 2022
Author: Fangrui Song
Date: 2022-07-16T01:10:39-07:00
New Revision: 59fafdd8153324f8ed3fe21d90b08fb3a68c1a07
URL: https://github.com/llvm/llvm-project/commit/59fafdd8153324f8ed3fe21d90b08fb3a68c1a07
DIFF: https://github.com/llvm/llvm-project/commit/59fafdd8153324f8ed3fe21d90b08fb3a68c1a07.diff
LOG: [test] Migrate FunctionImport/cg_profile.ll to new PM
Added:
Modified:
llvm/test/Transforms/FunctionImport/cg_profile.ll
Removed:
################################################################################
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 \
More information about the llvm-commits
mailing list