diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-19 23:13:04 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-19 23:13:04 +0000 |
commit | 9445e9aaa0240a897baf464ff89255acdcc7fbc9 (patch) | |
tree | 1d769c299d5d5b0027b30ac5c301c6ff7613d28f /docs | |
parent | 087b72d1bceea0ffe414c0e3d54196aafc7769f8 (diff) | |
download | external_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.zip external_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.gz external_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.bz2 |
For PR1553:
Change the keywords for the zext and sext parameter attributes to be
zeroext and signext so they don't conflict with the keywords for the
instructions of the same name. This gets around the ambiguity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index a57f242..699c11b 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -760,22 +760,22 @@ a power of 2.</p> <div class="doc_code"> <pre> -%someFunc = i16 (i8 sext %someParam) zext -%someFunc = i16 (i8 zext %someParam) zext +%someFunc = i16 (i8 signext %someParam) zeroext +%someFunc = i16 (i8 zeroext %someParam) zeroext </pre> </div> <p>Note that the two function types above are unique because the parameter has - a different attribute (sext in the first one, zext in the second). Also note - that the attribute for the function result (zext) comes immediately after the - argument list.</p> + a different attribute (<tt>signext</tt> in the first one, <tt>zeroext</tt> in + the second). Also note that the attribute for the function result + (<tt>zeroext</tt>) comes immediately after the argument list.</p> <p>Currently, only the following parameter attributes are defined:</p> <dl> - <dt><tt>zext</tt></dt> + <dt><tt>zeroext</tt></dt> <dd>This indicates that the parameter should be zero extended just before a call to this function.</dd> - <dt><tt>sext</tt></dt> + <dt><tt>signext</tt></dt> <dd>This indicates that the parameter should be sign extended just before a call to this function.</dd> <dt><tt>inreg</tt></dt> @@ -1131,7 +1131,7 @@ Variable argument functions can access their arguments with the <a <td class="left">function taking an <tt>i32</tt>, returning an <tt>i32</tt> </td> </tr><tr class="layout"> - <td class="left"><tt>float (i16 sext, i32 *) * + <td class="left"><tt>float (i16 signext, i32 *) * </tt></td> <td class="left"><a href="#t_pointer">Pointer</a> to a function that takes an <tt>i16</tt> that should be sign extended and a |