diff options
author | David Greene <greened@obbligato.org> | 2009-05-14 23:26:46 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-05-14 23:26:46 +0000 |
commit | 3587eed2c4abe5ab8a1b838d156512de5510e8a5 (patch) | |
tree | 4f0f394b739b677c117bdfe4588f4bc460db7769 /llvm/docs/TableGenFundamentals.html | |
parent | b4850465b77f98dce508201c938b7222ed878331 (diff) | |
download | bcm5719-llvm-3587eed2c4abe5ab8a1b838d156512de5510e8a5.tar.gz bcm5719-llvm-3587eed2c4abe5ab8a1b838d156512de5510e8a5.zip |
Implement !if, analogous to $(if) in GNU make.
llvm-svn: 71815
Diffstat (limited to 'llvm/docs/TableGenFundamentals.html')
-rw-r--r-- | llvm/docs/TableGenFundamentals.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html index 36798c8b8b8..08838caf464 100644 --- a/llvm/docs/TableGenFundamentals.html +++ b/llvm/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 |