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 | 150d20e8fcadda6600bbb2e188c17a35b8ec7cbd (patch) | |
tree | 845941644d1d7e4946834828ecaf98c802cd071d /docs/TableGenFundamentals.html | |
parent | a4a3a5e3c212e7b4ac84fec94c9a140f120f3ff6 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
-rw-r--r-- | docs/TableGenFundamentals.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 2f0c4ae6ec..e9067b0e1e 100644 --- a/docs/TableGenFundamentals.html +++ b/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> |