[PATCH] D12781: PGO IR-level instrumentation infrastructure

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 13:20:46 PST 2015


xur removed rL LLVM as the repository for this revision.
xur updated this revision to Diff 41175.
xur added a comment.

Fix a few issues that being exposed by the buildbot:
(1) wrong shift operation in functionhash computing,
(2) missing type cast for vector<...>size_type (which results bad functionhash in m32 host)
(3) sorting is not stable

Also improved the test checks suggested by Sean.

Thanks,

-Rong


http://reviews.llvm.org/D12781

Files:
  include/llvm/IR/DiagnosticInfo.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Instrumentation.h
  lib/IR/DiagnosticInfo.cpp
  lib/Transforms/IPO/LLVMBuild.txt
  lib/Transforms/Instrumentation/CFGMST.h
  lib/Transforms/Instrumentation/CMakeLists.txt
  lib/Transforms/Instrumentation/Instrumentation.cpp
  lib/Transforms/Instrumentation/LLVMBuild.txt
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Transforms/PGOProfile/Inputs/branch1.proftext
  test/Transforms/PGOProfile/Inputs/branch2.proftext
  test/Transforms/PGOProfile/Inputs/criticaledge.proftext
  test/Transforms/PGOProfile/Inputs/landingpad.proftext
  test/Transforms/PGOProfile/Inputs/loop1.proftext
  test/Transforms/PGOProfile/Inputs/loop2.proftext
  test/Transforms/PGOProfile/Inputs/loop3.proftext
  test/Transforms/PGOProfile/Inputs/single_bb.proftext
  test/Transforms/PGOProfile/Inputs/switch.proftext
  test/Transforms/PGOProfile/branch1_gen.ll
  test/Transforms/PGOProfile/branch1_use.ll
  test/Transforms/PGOProfile/branch2_gen.ll
  test/Transforms/PGOProfile/branch2_use.ll
  test/Transforms/PGOProfile/checksum_mismatch.ll
  test/Transforms/PGOProfile/criticaledge_gen.ll
  test/Transforms/PGOProfile/criticaledge_use.ll
  test/Transforms/PGOProfile/landingpad_gen.ll
  test/Transforms/PGOProfile/landingpad_use.ll
  test/Transforms/PGOProfile/loop1_gen.ll
  test/Transforms/PGOProfile/loop1_use.ll
  test/Transforms/PGOProfile/loop2_gen.ll
  test/Transforms/PGOProfile/loop2_use.ll
  test/Transforms/PGOProfile/loop3_gen.ll
  test/Transforms/PGOProfile/loop3_use.ll
  test/Transforms/PGOProfile/noprofile_use.ll
  test/Transforms/PGOProfile/single_bb_gen.ll
  test/Transforms/PGOProfile/switch_gen.ll
  test/Transforms/PGOProfile/switch_use.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12781.41175.patch
Type: text/x-patch
Size: 71926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/67e653c3/attachment-0001.bin>


More information about the llvm-commits mailing list