[PATCH] D60554: Fix number of args of prof branch_weights MD for SwitchInst

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 04:51:10 PDT 2019


yrouban updated this revision to Diff 195135.
yrouban added a comment.

- removed 2 tests fixes into a separate patch
- changed branch weight sum type to uint64_t
- extracted separate method //getProfBranchWeightsMD()// that is used in the dependent patche


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60554/new/

https://reviews.llvm.org/D60554

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/Instructions.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
  llvm/test/Transforms/SimpleLoopUnswitch/basictest.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60554.195135.patch
Type: text/x-patch
Size: 7830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190415/b142bc0a/attachment.bin>


More information about the llvm-commits mailing list