From 6b8677015dd883fa66cb33c2bba41f470655f75b Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Sat, 25 Jul 2009 02:23:48 +0000
Subject: [PATCH] Update to new syntax.
llvm-svn: 77043
---
llvm/docs/LangRef.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 57aace82bab9..9ab62c03492f 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -3907,7 +3907,7 @@ int *foo(struct ST *s) {
%RT = type { i8 , [10 x [20 x i32]], i8 }
%ST = type { i32, double, %RT }
-define i32* %foo(%ST* %s) {
+define i32* @foo(%ST* %s) {
entry:
%reg = getelementptr %ST* %s, i32 1, i32 2, i32 1, i32 5, i32 13
ret i32* %reg
@@ -3931,7 +3931,7 @@ entry:
the given testcase is equivalent to:
- define i32* %foo(%ST* %s) {
+ define i32* @foo(%ST* %s) {
%t1 = getelementptr %ST* %s, i32 1 ; yields %ST*:%t1
%t2 = getelementptr %ST* %t1, i32 0, i32 2 ; yields %RT*:%t2
%t3 = getelementptr %RT* %t2, i32 0, i32 1 ; yields [10 x [20 x i32]]*:%t3