[all-commits] [llvm/llvm-project] 3d1149: Make CallInst::updateProfWeight emit i32 weights i...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Nov 24 18:28:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d1149c6fe48cdab768b587e5531c31b6f42ee12
      https://github.com/llvm/llvm-project/commit/3d1149c6fe48cdab768b587e5531c31b6f42ee12
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-11-24 (Tue, 24 Nov 2020)

  Changed paths:
    M llvm/lib/IR/Instructions.cpp
    M llvm/test/Transforms/Inline/prof-update-sample-alwaysinline.ll
    M llvm/test/Transforms/Inline/prof-update-sample.ll
    M llvm/test/Transforms/SampleProfile/entry_counts_cold.ll
    M llvm/test/Transforms/SampleProfile/inline-mergeprof.ll
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  Make CallInst::updateProfWeight emit i32 weights instead of i64

Typically branch_weights are i32, not i64.
This fixes entry_counts_cold.ll under NPM.

Reviewed By: asbirlea

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




More information about the All-commits mailing list