[PATCH] D79959: [SampleFDO] Add use-sample-profile function attribute

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 12:00:34 PDT 2020


MaskRay added inline comments.


================
Comment at: clang/test/CodeGen/use-sample-profile-attr.c:4
+//
+// RUN: %clang_cc1 -O2 -fno-experimental-new-pass-manager
+// -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -emit-llvm -o - 2>&1 |
----------------
wmi wrote:
> MaskRay wrote:
> > You need one `RUN:` for each continuation line.
> clang-format changed it to multiple lines. Thanks for catching it. Fixed.
It may be easier to read if you indent continuation lines by 2 spaces.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D79959





More information about the llvm-commits mailing list