[all-commits] [llvm/llvm-project] 120e66: [PGO] Include the mem ops into the function hash.

hjyamauchi via All-commits all-commits at lists.llvm.org
Wed Jul 29 14:00:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 120e66b3418b37b95fc1dbbb23e296a602a24fa8
      https://github.com/llvm/llvm-project/commit/120e66b3418b37b95fc1dbbb23e296a602a24fa8
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M clang/test/CodeGen/Inputs/thinlto_expect1.proftext
    M clang/test/CodeGen/Inputs/thinlto_expect2.proftext
    M clang/test/CodeGenCXX/Inputs/profile-remap.proftext
    M clang/test/CodeGenCXX/Inputs/profile-remap_entry.proftext
    M clang/test/Profile/Inputs/gcc-flag-compatibility_IR.proftext
    M clang/test/Profile/Inputs/gcc-flag-compatibility_IR_entry.proftext
    M compiler-rt/test/profile/Linux/instrprof-value-merge.c
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/test/Transforms/PGOProfile/Inputs/PR41279.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/PR41279_2.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/branch1.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/branch1_large_count.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/branch2.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/branch2_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/criticaledge_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/cspgo.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/diag_no_value_sites.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/fix_entry_count.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/func_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/indirect_call.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/indirectbr.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/indirectbr_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/irreducible.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/irreducible_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/landingpad.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/landingpad_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/large_count_remarks.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/loop1.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/loop1_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/loop2.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/loop2_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/memop_size_annotation.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-branch_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/multiple_hash_profile.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/noreturncall.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/remap.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/select1.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/select2.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/suppl-profile.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/switch.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/switch_entry.proftext
    M llvm/test/Transforms/PGOProfile/Inputs/thinlto_cs.proftext
    M llvm/test/Transforms/PGOProfile/multiple_hash_profile.ll

  Log Message:
  -----------
  [PGO] Include the mem ops into the function hash.

To avoid hash collisions when the only difference is in mem ops.

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




More information about the All-commits mailing list