[llvm-bugs] [Bug 33500] New: Investigate use of IR-based counter instrumentation for coverage

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 18 15:36:55 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33500

            Bug ID: 33500
           Summary: Investigate use of IR-based counter instrumentation
                    for coverage
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vsk at apple.com
                CC: llvm-bugs at lists.llvm.org

Coverage makes use of frontend-based PGO instrumentation, which is much less
efficient than the IR-based kind, primarily because it has no visibility into
LLVM's inlining decisions. This results in instrumented basic blocks which
contain multiple (redundant) counter increments. If we can find a way to map
counters inserted by IR PGO to AST nodes, we could improve the situation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170618/15970189/attachment.html>


More information about the llvm-bugs mailing list