[PATCH] D18569: [PGO] Move the instrumentation point closer to the value site.

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 15:16:55 PDT 2016


davidxl added inline comments.

================
Comment at: test/Profile/cxx-indirect-call.cpp:3
@@ +2,3 @@
+
+// RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -mllvm -enable-value-profiling -fexceptions -target %itanium_abi_triple | FileCheck %s
+
----------------
Can you use clang_cc1 instead -- it should be slightly more efficient?

%clang_cc1 -fcxx-exceptions ...

Also adding -fprofile-instrument=clang explicitly to differentiate from IR based instrumentation (though the former is default today).


Repository:
  rL LLVM

http://reviews.llvm.org/D18569





More information about the llvm-commits mailing list