[llvm-commits] CVS: llvm/www/docs/LangRef.html
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 4 18:22:01 PST 2002
Changes in directory llvm/www/docs:
LangRef.html updated: 1.18 -> 1.19
---
Log message:
Add a note about the switch instruction
---
Diffs of the changes:
Index: llvm/www/docs/LangRef.html
diff -u llvm/www/docs/LangRef.html:1.18 llvm/www/docs/LangRef.html:1.19
--- llvm/www/docs/LangRef.html:1.18 Tue Oct 29 17:06:16 2002
+++ llvm/www/docs/LangRef.html Mon Nov 4 18:21:03 2002
@@ -682,13 +682,19 @@
<i>; Lookup indirect branch</i>
switch uint <value>, label <defaultdest>, %switchtype <switchtable>
-
+<!--
<i>; Indexed indirect branch</i>
switch uint <idxvalue>, label <defaultdest>, [<anysize> x label] <desttable>
+-->
</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 at 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 @@
<address><a href="mailto:sabre at 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>
More information about the llvm-commits
mailing list