summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-17 06:42:57 +0000
committerChris Lattner <sabre@nondot.org>2011-06-17 06:42:57 +0000
commit6b7c89ee096146aefebc245c7d8741b69786655a (patch)
tree899a24b59687a5be1ef36c70dfc8283b04dd4a22 /test/Transforms
parent7a1b9bdd2b837b15c9213cdaf89cacc977e4600e (diff)
downloadllvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.gz
llvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.bz2
llvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.xz
stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/ADCE/2002-01-31-UseStuckAround.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
index 43462faa47..8910bdade3 100644
--- a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
+++ b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
@@ -1,7 +1,6 @@
; RUN: opt < %s -adce
-define i32 @"main"(i32 %argc)
-begin
+define i32 @"main"(i32 %argc) {
br label %2
%retval = phi i32 [ %argc, %2 ] ; <i32> [#uses=2]
@@ -9,5 +8,4 @@ begin
ret i32 %two
br label %1
-end
-
+}