diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-06-17 00:31:36 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-06-17 00:31:36 +0000 |
| commit | f0d6f8e18d70aa60b5075b4cc668c3cb27a1847e (patch) | |
| tree | 3809907dbc8b86973929558b22c440d12f9d8593 /docs/TableGenFundamentals.html | |
| parent | 3f15e46ec59ec01ccf5bfc8dce59a96008dc1cc9 (diff) | |
| download | external_llvm-f0d6f8e18d70aa60b5075b4cc668c3cb27a1847e.zip external_llvm-f0d6f8e18d70aa60b5075b4cc668c3cb27a1847e.tar.gz external_llvm-f0d6f8e18d70aa60b5075b4cc668c3cb27a1847e.tar.bz2 | |
For a tablegen expression such as !if(a,b,c), let 'a'
be evaluated for 'bit' operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
| -rw-r--r-- | docs/TableGenFundamentals.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 3410cac..f7a082d 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -422,7 +422,8 @@ class. This operation is analogous to $(foreach) in GNU make.</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> + <dd>'b' if the result of 'int' or 'bit' operator 'a' is nonzero, + 'c' otherwise.</dd> <dt><tt>!eq(a,b)</tt></dt> <dd>Integer one if string a is equal to string b, zero otherwise. This only operates on string, int and bit objects. Use !cast<string> to |
