[PATCH] D37779: Invoke GetInlineCost for legality check before inline functions in SampleProfileLoader.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 10:31:09 PDT 2017


danielcdh updated this revision to Diff 115242.
danielcdh added a comment.

fix the msan uninitialized memory access error.


https://reviews.llvm.org/D37779

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/einline.prof
  test/Transforms/SampleProfile/early-inline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37779.115242.patch
Type: text/x-patch
Size: 6830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170914/833c38fc/attachment.bin>


More information about the llvm-commits mailing list