From: Chris Lattner Date: Tue, 5 Nov 2002 00:21:03 +0000 (+0000) Subject: Add a note about the switch instruction X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a0ff4aad41ec238b6ff9941243e739c786946571;p=oota-llvm.git Add a note about the switch instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4551 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index c180c2a32e2..1ee25bafe34 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -682,13 +682,19 @@ IfUnequal: ; Lookup indirect branch switch uint <value>, label <defaultdest>, %switchtype <switchtable> - +
Overview:
+NOTE: 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 Chris for more info if this concerns +you.

+ The 'switch' instruction is used to transfer control flow to one of several different places. It is a generalization of the 'br' instruction, allowing a branch to occur to one of many possible destinations.

@@ -1700,7 +1706,7 @@ more...

Chris Lattner
-Last modified: Tue Oct 29 01:57:05 CST 2002 +Last modified: Mon Nov 4 18:20:38 CST 2002