Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Unified Diff: docs/TableGenFundamentals.html

Issue 7792066: [llvm] Conditionally include target intrinsics, based on --enable-target Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: cleanups Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.rules ('k') | include/llvm/Intrinsics.td » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/TableGenFundamentals.html
===================================================================
--- docs/TableGenFundamentals.html (revision 138929)
+++ docs/TableGenFundamentals.html (working copy)
@@ -797,8 +797,18 @@
</pre>
</div>
+<p>TableGen also supports '<tt>include_if</tt>', which only includes the
+specified file if TableGen was given a define (similar to pre-processor
+defines) via the commandline option '<tt>-D</tt>'. Example:
+
+<div class="doc_code">
+<pre>
+<b>include_if</b> "TARGET_FOO" "foo.td"
+</pre>
</div>
+</div>
+
<!-- -------------------------------------------------------------------------->
<h4>
<a name="globallet">'let' expressions</a>
« no previous file with comments | « Makefile.rules ('k') | include/llvm/Intrinsics.td » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698