[PATCH] D22600: [PGO] Fix profile mismatch in Comdat function with pre-inliner

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 17:02:32 PDT 2016


xur updated this revision to Diff 64997.
xur added a comment.

This new patch addressed David's comments:
It refines the handling of comdat group with variables and aliases, and adds a test case to check handled and unhandled cases.


https://reviews.llvm.org/D22600

Files:
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Transforms/PGOProfile/Inputs/indirect_call.proftext
  test/Transforms/PGOProfile/comdat_internal.ll
  test/Transforms/PGOProfile/comdat_rename.ll
  test/Transforms/PGOProfile/indirect_call_profile.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22600.64997.patch
Type: text/x-patch
Size: 16284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160722/70da849c/attachment.bin>


More information about the llvm-commits mailing list