r311624 - [Driver] Register effective triple before get arm float abi.

2017-08-23 Thread Leo Li via cfe-commits
Author: aoli Date: Wed Aug 23 18:51:51 2017 New Revision: 311624 URL: http://llvm.org/viewvc/llvm-project?rev=311624&view=rev Log: [Driver] Register effective triple before get arm float abi. Summary: We need to register effective triple before calling `getARMFloatABI`. Add missing code when `--p

[PATCH] D37091: Expose -mllvm -accurate-sample-profile to clang.

2017-08-23 Thread David Li via Phabricator via cfe-commits
davidxl added a comment. Documentation needs to be added to clang/docs/ClangCommandLineReference.rst . There probably also needs some kind of testing for the option processing: see clang_f_opts.c https://reviews.llvm.org/D37091 ___ cfe-commits mai

[PATCH] D37091: Expose -mllvm -accurate-sample-profile to clang.

2017-08-23 Thread Dehao Chen via Phabricator via cfe-commits
danielcdh updated this revision to Diff 112496. danielcdh added a comment. add document and test https://reviews.llvm.org/D37091 Files: docs/ClangCommandLineReference.rst include/clang/Driver/Options.td lib/Driver/ToolChains/Clang.cpp test/Driver/clang_f_opts.c Index: test/Driver/clan

[PATCH] D37091: Expose -mllvm -accurate-sample-profile to clang.

2017-08-23 Thread David Li via Phabricator via cfe-commits
davidxl added inline comments. Comment at: docs/ClangCommandLineReference.rst:176 + +If sample profile is accurate, we will mark all un-sampled callsite as cold. Otherwise, treat un-sampled callsites as if we have no profile + If the sample profile is accurate,

<    1   2