summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-05 00:21:03 +0000
committerChris Lattner <sabre@nondot.org>2002-11-05 00:21:03 +0000
commita0ff4aad41ec238b6ff9941243e739c786946571 (patch)
tree390d794b24003d34c9abdbef21dce8728e5a9d40 /docs
parent595351330809375a90493da2d9e3059be116fbd6 (diff)
downloadllvm-a0ff4aad41ec238b6ff9941243e739c786946571.tar.gz
llvm-a0ff4aad41ec238b6ff9941243e739c786946571.tar.bz2
llvm-a0ff4aad41ec238b6ff9941243e739c786946571.tar.xz
Add a note about the switch instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index c180c2a32e..1ee25bafe3 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -682,13 +682,19 @@ IfUnequal:
<i>; Lookup indirect branch</i>
switch uint &lt;value&gt;, label &lt;defaultdest&gt;, %switchtype &lt;switchtable&gt;
-
+<!--
<i>; Indexed indirect branch</i>
switch uint &lt;idxvalue&gt;, label &lt;defaultdest&gt;, [&lt;anysize&gt; x label] &lt;desttable&gt;
+-->
</pre>
<h5>Overview:</h5>
+<b>NOTE:</b> The switch instruction may go away in the future. It is not very
+well supported in LLVM anyway, so don't go to great lengths to support it. Talk
+to <a href="mailto:sabre@nondot.org">Chris</a> for more info if this concerns
+you.<p>
+
The '<tt>switch</tt>' instruction is used to transfer control flow to one of
several different places. It is a generalization of the '<tt>br</tt>'
instruction, allowing a branch to occur to one of many possible destinations.<p>
@@ -1700,7 +1706,7 @@ more...
<address><a href="mailto:sabre@nondot.org">Chris Lattner</a></address>
<!-- Created: Tue Jan 23 15:19:28 CST 2001 -->
<!-- hhmts start -->
-Last modified: Tue Oct 29 01:57:05 CST 2002
+Last modified: Mon Nov 4 18:20:38 CST 2002
<!-- hhmts end -->
</font>
</body></html>