[PATCH] D63040: [Docs] [llvm-mca] Point out a caveat for using llvm-mca markers in source code.

Max Marrone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 12:04:08 PDT 2019


Maxpm updated this revision to Diff 203705.
Maxpm added a comment.

Removed the subsubheading, second paragraph, and issue tracker link.  Also removed the word "currently," since it's unlikely that the markers, in this particular form, will someday be free of this problem.


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

https://reviews.llvm.org/D63040

Files:
  llvm/docs/CommandGuide/llvm-mca.rst


Index: llvm/docs/CommandGuide/llvm-mca.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-mca.rst
+++ llvm/docs/CommandGuide/llvm-mca.rst
@@ -254,6 +254,11 @@
     return a;
   }
 
+However, this interferes with optimizations like loop vectorization and may have
+an impact on the code generated.  This is because the ``__asm`` statements are
+seen as real code having important side effects, which limits how the code
+around them can be transformed.
+
 HOW LLVM-MCA WORKS
 ------------------
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63040.203705.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190608/885a2186/attachment.bin>


More information about the llvm-commits mailing list