summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4649a73cc3ddee98a9bf814fd426286c3c85abdc (patch)
treea2d95f374d20d83285113bb17ddfa056c07018f3 /llvm/test/Transforms
parentd463132f2727d75d9dce681591e1b9dcd7850563 (diff)
downloadbcm5719-llvm-4649a73cc3ddee98a9bf814fd426286c3c85abdc.tar.gz
bcm5719-llvm-4649a73cc3ddee98a9bf814fd426286c3c85abdc.zip
stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore.
llvm-svn: 133244
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll b/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
index 43462faa47f..8910bdade37 100644
--- a/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
+++ b/llvm/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
-
+}
OpenPOWER on IntegriCloud