[clang] [compiler-rt] [llvm] [TypeProf][InstrFDO]Implement more efficient comparison sequence for indirect-call-promotion with vtable profiles. (PR #81442)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 23:18:42 PDT 2024


================
@@ -316,6 +316,15 @@ void salvageDebugInfoForDbgValues(Instruction &I,
                                   ArrayRef<DbgVariableIntrinsic *> Insns,
                                   ArrayRef<DbgVariableRecord *> DPInsns);
 
+void tryToSinkInstructionDbgValues(
----------------
minglotus-6 wrote:

Debug intrinsics are not handled in this PR, I un-do `Local.h/cpp` changes (and overlooked this comment).

The updated compiler-rt test (instrprof-vtable-value-prof.cpp) enabled `-g` and tested IR for the first callsite. 

https://github.com/llvm/llvm-project/pull/81442


More information about the llvm-commits mailing list