[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
Fri Apr 12 04:13:43 PDT 2019


yrouban marked an inline comment as done.
yrouban added inline comments.


================
Comment at: llvm/lib/IR/Instructions.cpp:3812
+          SmallVector<uint32_t, 8> Weights;
+          uint32_t SW = 0;
+          for (unsigned CI = 0, CE = getNumSuccessors() - 1; CI < CE; ++CI) {
----------------
must be //uint64_t//


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

https://reviews.llvm.org/D60554





More information about the llvm-commits mailing list