diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-09-03 13:17:03 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-09-03 13:17:03 +0000 |
commit | 0a537275021338323387ef60b28940b1fa0144f1 (patch) | |
tree | 82838af0491be6f858a89993a00c27ce4987e0bf /llvm/docs/TableGen/LangIntro.rst | |
parent | fe3add79bfd845a0d67a74d47694cfcb0af295b1 (diff) | |
download | bcm5719-llvm-0a537275021338323387ef60b28940b1fa0144f1.tar.gz bcm5719-llvm-0a537275021338323387ef60b28940b1fa0144f1.zip |
Document !and. Fix !shl and friends -- they provide binary operations.
llvm-svn: 217034
Diffstat (limited to 'llvm/docs/TableGen/LangIntro.rst')
-rw-r--r-- | llvm/docs/TableGen/LangIntro.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/TableGen/LangIntro.rst b/llvm/docs/TableGen/LangIntro.rst index 5bb6ee267cd..85c74a5b460 100644 --- a/llvm/docs/TableGen/LangIntro.rst +++ b/llvm/docs/TableGen/LangIntro.rst @@ -211,8 +211,8 @@ supported include: on string, int and bit objects. Use !cast<string> to compare other types of objects. -``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)`` - The usual logical and arithmetic operators. +``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)`` ``!and(a,b)`` + The usual binary and arithmetic operators. Note that all of the values have rules specifying how they convert to values for different types. These rules allow you to assign a value like "``7``" |