[llvm] [TypeProf][PGO]Support skipping vtable comparisons for a class and its derived ones (PR #110575)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 13:07:15 PDT 2024
================
@@ -2,6 +2,7 @@
; RUN: opt < %s -passes='pgo-icall-prom' -pass-remarks=pgo-icall-prom -enable-vtable-profile-use -icp-max-num-vtable-last-candidate=2 -S 2>&1 | FileCheck %s --check-prefixes=VTABLE-COMMON,VTABLE-CMP
; RUN: opt < %s -passes='pgo-icall-prom' -pass-remarks=pgo-icall-prom -enable-vtable-profile-use -icp-max-num-vtable-last-candidate=1 -S 2>&1 | FileCheck %s --check-prefixes=VTABLE-COMMON,FUNC-CMP
+; RUN: opt < %s -passes='pgo-icall-prom' -pass-remarks=pgo-icall-prom -enable-vtable-profile-use -icp-max-num-vtable-last-candidate=1 -icp-ignored-base-types='Base1' -S 2>&1 | FileCheck %s --check-prefixes=VTABLE-COMMON,FUNC-CMP
----------------
minglotus-6 wrote:
done.
https://github.com/llvm/llvm-project/pull/110575
More information about the llvm-commits
mailing list