aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-05-14 23:26:46 +0000
committerDavid Greene <greened@obbligato.org>2009-05-14 23:26:46 +0000
commit70037ea8a1c10534071b105eb7bd1cd96104b3f3 (patch)
treedbd9719b6373f1e119b294f122b6c4dac0ab5d0d /docs
parent809b109b7880d0c3d66902d1e985f397c296d7a3 (diff)
downloadexternal_llvm-70037ea8a1c10534071b105eb7bd1cd96104b3f3.zip
external_llvm-70037ea8a1c10534071b105eb7bd1cd96104b3f3.tar.gz
external_llvm-70037ea8a1c10534071b105eb7bd1cd96104b3f3.tar.bz2
Implement !if, analogous to $(if) in GNU make.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/TableGenFundamentals.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index 36798c8..08838ca 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -417,6 +417,8 @@ class. This operation is analogous to $(foreach) in GNU make.</dd>
<dd>The 2nd-N elements of list 'a.'</dd>
<dt><tt>!null(a)</tt></dt>
<dd>An integer {0,1} indicating whether list 'a' is empty.</dd>
+<dt><tt>!if(a,b,c)</tt></dt>
+ <dd>'b' if the result of integer operator 'a' is nonzero, 'c' otherwise.</dd>
</dl>
<p>Note that all of the values have rules specifying how they convert to values