[PATCH] D21771: [OptRemark,LDist] RFC: Add hotness attribute

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 19:28:44 PDT 2016


hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks!


================
Comment at: include/llvm/IR/LLVMContext.h:178
@@ +177,3 @@
+  /// \brief Return if a code hotness metric should be included in optimization
+  /// diagnostic.
+  bool getDiagnosticHotnessRequested() const;
----------------
diagnostic -> diagnostics

================
Comment at: include/llvm/IR/LLVMContext.h:181
@@ +180,3 @@
+  /// \brief Set if a code hotness metric should be included in optimization
+  /// diagnostic.
+  void setDiagnosticHotnessRequested(bool Requested);
----------------
diagnostic -> diagnostics


https://reviews.llvm.org/D21771





More information about the llvm-commits mailing list