From: Reid Spencer Date: Sat, 18 Nov 2006 21:55:45 +0000 (+0000) Subject: Update a reference to the old setcc instruction. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=36d68e418d8d044964cf763daf49543d9052d55b;p=oota-llvm.git Update a reference to the old setcc instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31860 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 5324c0ef294..d6696884e4a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1426,7 +1426,7 @@ argument is evaluated. If the value is true, control flows to the 'iftrue' label argument. If "cond" is false, control flows to the 'iffalse' label argument.

Example:
-
Test:
%cond = seteq int %a, %b
br bool %cond, label %IfEqual, label %IfUnequal
IfEqual:
Test:
%cond =
icmp eq, int %a, %b
br bool %cond, label %IfEqual, label %IfUnequal
IfEqual:
ret int 1
IfUnequal:
ret int 0