diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-10-31 19:22:57 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-10-31 19:22:57 +0000 |
| commit | 7ff334687d43991cfaf424e4c5efc454e0f90fd3 (patch) | |
| tree | 7f058363bcc9d72a4065d3fc17c6f173af7ab8d1 /llvm/docs | |
| parent | 9492c17baf77cf210805864388097f3c9fd5afb7 (diff) | |
| download | bcm5719-llvm-7ff334687d43991cfaf424e4c5efc454e0f90fd3.tar.gz bcm5719-llvm-7ff334687d43991cfaf424e4c5efc454e0f90fd3.zip | |
fix the !eq operator in tblgen to return a bit instead of an int.
Use this to make the X86 and ARM targets set isCodeGenOnly=1
automatically for their instructions that have Format=Pseudo,
resolving a hack in tblgen.
llvm-svn: 117862
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/TableGenFundamentals.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html index 2f0c4ae6ec2..e9067b0e1ee 100644 --- a/llvm/docs/TableGenFundamentals.html +++ b/llvm/docs/TableGenFundamentals.html @@ -422,7 +422,7 @@ class. This operation is analogous to $(foreach) in GNU make.</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 + <dd>'bit 1' if string a is equal to string b, 0 otherwise. This only operates on string, int and bit objects. Use !cast<string> to compare other types of objects.</dd> </dl> |

