[all-commits] [llvm/llvm-project] b35b7d: [PGO] Attach appropriate funclet operand bundles t...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Jan 24 11:21:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b35b7da4608426e099fc048319ebf50c11c984ea
      https://github.com/llvm/llvm-project/commit/b35b7da4608426e099fc048319ebf50c11c984ea
  Author: Andy Kaylor <andrew.kaylor at intel.com>
  Date:   2020-01-24 (Fri, 24 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    A llvm/test/Transforms/PGOProfile/indirect_call_profile_funclet.ll
    A llvm/test/Transforms/PGOProfile/memop_profile_funclet.ll

  Log Message:
  -----------
  [PGO] Attach appropriate funclet operand bundles to value profiling instrumentation calls

Patch by Chris Chrulski

When generating value profiling instrumentation, ensure the call gets the
correct funclet token, otherwise WinEHPrepare will turn the call (and all
subsequent instructions) into unreachable.

Differential Revision: https://reviews.llvm.org/D73221




More information about the All-commits mailing list