summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-05 17:55:26 +0000
committerDan Gohman <gohman@apple.com>2010-01-05 17:55:26 +0000
commitfb4193625a02f97f77dbf52827c8ad6e399cbb22 (patch)
tree06559b0b012e1ac594e50db5abd987474bf24b1f /llvm/test/Transforms
parentc3c031bb37d244ef3c95b08f81d66957da43ac4e (diff)
downloadbcm5719-llvm-fb4193625a02f97f77dbf52827c8ad6e399cbb22.tar.gz
bcm5719-llvm-fb4193625a02f97f77dbf52827c8ad6e399cbb22.zip
Delete useless trailing semicolons.
llvm-svn: 92740
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/DeadArgElim/canon.ll4
-rw-r--r--llvm/test/Transforms/DeadStoreElimination/const-pointers.ll2
-rw-r--r--llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll4
-rw-r--r--llvm/test/Transforms/GVN/null-aliases-nothing.ll2
-rw-r--r--llvm/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll2
-rw-r--r--llvm/test/Transforms/IPConstantProp/return-argument.ll4
-rw-r--r--llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll2
-rw-r--r--llvm/test/Transforms/InstCombine/loadstore-alignment.ll4
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll2
-rw-r--r--llvm/test/Transforms/LoopRotate/PhiRename-1.ll2
-rw-r--r--llvm/test/Transforms/PruneEH/simplenoreturntest.ll2
-rw-r--r--llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/branch_fold_dbg.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/switch_formation.dbg.ll2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll2
-rw-r--r--llvm/test/Transforms/TailCallElim/dont_reorder_load.ll6
19 files changed, 25 insertions, 25 deletions
diff --git a/llvm/test/Transforms/DeadArgElim/canon.ll b/llvm/test/Transforms/DeadArgElim/canon.ll
index 025a46a5dfe..11cd482b7b2 100644
--- a/llvm/test/Transforms/DeadArgElim/canon.ll
+++ b/llvm/test/Transforms/DeadArgElim/canon.ll
@@ -10,12 +10,12 @@ define internal {} @test() {
}
define internal {i32} @test2() {
- ret {i32} undef;
+ ret {i32} undef
}
define void @caller() {
call {} @test()
- %X = call {i32} @test2();
+ %X = call {i32} @test2()
%Y = extractvalue {i32} %X, 0
call void @user(i32 %Y, {i32} %X)
ret void
diff --git a/llvm/test/Transforms/DeadStoreElimination/const-pointers.ll b/llvm/test/Transforms/DeadStoreElimination/const-pointers.ll
index ce3b24c996f..728a118944d 100644
--- a/llvm/test/Transforms/DeadStoreElimination/const-pointers.ll
+++ b/llvm/test/Transforms/DeadStoreElimination/const-pointers.ll
@@ -2,7 +2,7 @@
%t = type { i32 }
-@g = global i32 42;
+@g = global i32 42
define void @test1(%t* noalias %pp) {
%p = getelementptr inbounds %t* %pp, i32 0, i32 0
diff --git a/llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll b/llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll
index 42c4e1bf6ea..7e8f52a085b 100644
--- a/llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll
+++ b/llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll
@@ -3,7 +3,7 @@
declare void @test1f()
define void @test1(i32* noalias %p) {
- store i32 1, i32* %p;
+ store i32 1, i32* %p
call void @test1f()
store i32 2, i32 *%p
ret void
@@ -12,4 +12,4 @@ define void @test1(i32* noalias %p) {
; CHECK-NEXT: call void
; CHECK-NEXT: store i32 2
; CHECK-NEXT: ret void
-} \ No newline at end of file
+}
diff --git a/llvm/test/Transforms/GVN/null-aliases-nothing.ll b/llvm/test/Transforms/GVN/null-aliases-nothing.ll
index bc5c850e5f2..4d533bbc406 100644
--- a/llvm/test/Transforms/GVN/null-aliases-nothing.ll
+++ b/llvm/test/Transforms/GVN/null-aliases-nothing.ll
@@ -10,7 +10,7 @@ define void @test1(%t* noalias %stuff ) {
call void @test1f(i8* null)
%after = load i32* %p ; <--- This should be a dead load
- %sum = add i32 %before, %after;
+ %sum = add i32 %before, %after
store i32 %sum, i32* %p
ret void
diff --git a/llvm/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll b/llvm/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
index 5fe89ee0984..f794e9f96b1 100644
--- a/llvm/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
+++ b/llvm/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
@@ -12,7 +12,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/IPConstantProp/return-argument.ll b/llvm/test/Transforms/IPConstantProp/return-argument.ll
index 0223453fa17..6d6eb24cf54 100644
--- a/llvm/test/Transforms/IPConstantProp/return-argument.ll
+++ b/llvm/test/Transforms/IPConstantProp/return-argument.ll
@@ -34,9 +34,9 @@ define void @caller(i1 %C) {
;; Call @foo twice, to prevent the arguments from propagating into the
;; function (so we can check the returned argument is properly
;; propagated per-caller).
- %S1 = call { i32, i32 } @foo(i32 1, i32 2);
+ %S1 = call { i32, i32 } @foo(i32 1, i32 2)
%X1 = extractvalue { i32, i32 } %S1, 0
- %S2 = invoke { i32, i32 } @foo(i32 3, i32 4) to label %OK unwind label %RET;
+ %S2 = invoke { i32, i32 } @foo(i32 3, i32 4) to label %OK unwind label %RET
OK:
%X2 = extractvalue { i32, i32 } %S2, 0
;; Do some stuff with the returned values which we can grep for
diff --git a/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll b/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
index 08d4dc693a4..979157ebc8b 100644
--- a/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
+++ b/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
@@ -8,7 +8,7 @@ entry:
%n = call i1 @extern( )
br i1 %n, label %r, label %u
r:
- ret i32 0;
+ ret i32 0
u:
unwind
}
diff --git a/llvm/test/Transforms/InstCombine/loadstore-alignment.ll b/llvm/test/Transforms/InstCombine/loadstore-alignment.ll
index 9fbe683068b..1d932d27f78 100644
--- a/llvm/test/Transforms/InstCombine/loadstore-alignment.ll
+++ b/llvm/test/Transforms/InstCombine/loadstore-alignment.ll
@@ -29,7 +29,7 @@ define <2 x i64> @foo() {
define <2 x i64> @bar() {
%t = alloca <2 x i64>
- call void @kip(<2 x i64>* %t);
+ call void @kip(<2 x i64>* %t)
%tmp1 = load <2 x i64>* %t, align 1
ret <2 x i64> %tmp1
}
@@ -59,7 +59,7 @@ define void @foo_store(<2 x i64> %y) {
define void @bar_store(<2 x i64> %y) {
%t = alloca <2 x i64>
- call void @kip(<2 x i64>* %t);
+ call void @kip(<2 x i64>* %t)
store <2 x i64> %y, <2 x i64>* %t, align 1
ret void
}
diff --git a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
index 09a6423bc0c..4ab95fcb381 100644
--- a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
@@ -5,7 +5,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/LoopRotate/PhiRename-1.ll b/llvm/test/Transforms/LoopRotate/PhiRename-1.ll
index a7326fa5988..74426a8ee2b 100644
--- a/llvm/test/Transforms/LoopRotate/PhiRename-1.ll
+++ b/llvm/test/Transforms/LoopRotate/PhiRename-1.ll
@@ -73,7 +73,7 @@ cond_next: ; preds = %cond_true, %bb
br label %bb21
bb21: ; preds = %cond_next, %entry
- %l.in = phi %struct.list** [ @operators, %entry ], [ %tmp19, %cond_next ] ;
+ %l.in = phi %struct.list** [ @operators, %entry ], [ %tmp19, %cond_next ]
%tmp22 = load %struct.list** %l.in ; <%struct.list*> [#uses=1]
icmp ne %struct.list* %tmp22, null ; <i1>:3 [#uses=1]
zext i1 %3 to i8 ; <i8>:4 [#uses=1]
diff --git a/llvm/test/Transforms/PruneEH/simplenoreturntest.ll b/llvm/test/Transforms/PruneEH/simplenoreturntest.ll
index 6cdd42fff84..61e2f15c0d0 100644
--- a/llvm/test/Transforms/PruneEH/simplenoreturntest.ll
+++ b/llvm/test/Transforms/PruneEH/simplenoreturntest.ll
@@ -1,6 +1,6 @@
; RUN: opt < %s -prune-eh -S | not grep {ret i32}
-declare void @noreturn() noreturn;
+declare void @noreturn() noreturn
define i32 @caller() {
call void @noreturn( )
diff --git a/llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll b/llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
index 725a9b6d9c7..62f7d19dbda 100644
--- a/llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
+++ b/llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
@@ -8,7 +8,7 @@
define void @_ada_c37304a() {
entry:
- %v = alloca %struct.c37304a__vrec ;
+ %v = alloca %struct.c37304a__vrec
%0 = getelementptr %struct.c37304a__vrec* %v, i32 0, i32 0
store i8 8, i8* %0, align 1
unreachable
diff --git a/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll b/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
index 577d65013e5..af59ba04f44 100644
--- a/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
@@ -5,7 +5,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll b/llvm/test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll
index 9caa9a1a0fb..db56fdba73f 100644
--- a/llvm/test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll
@@ -2,7 +2,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/SimplifyCFG/branch_fold_dbg.ll b/llvm/test/Transforms/SimplifyCFG/branch_fold_dbg.ll
index c91a87ef083..6a500de6b0a 100644
--- a/llvm/test/Transforms/SimplifyCFG/branch_fold_dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/branch_fold_dbg.ll
@@ -4,7 +4,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll b/llvm/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
index 2e7ef7a8dfb..6fbbb1b19f3 100644
--- a/llvm/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
@@ -4,7 +4,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/SimplifyCFG/switch_formation.dbg.ll b/llvm/test/Transforms/SimplifyCFG/switch_formation.dbg.ll
index f5f4c935a36..f1c820ec43b 100644
--- a/llvm/test/Transforms/SimplifyCFG/switch_formation.dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/switch_formation.dbg.ll
@@ -4,7 +4,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll b/llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
index 3a6c2ed6680..01041eb7db5 100644
--- a/llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
+++ b/llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
@@ -3,7 +3,7 @@
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
-@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata"
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
diff --git a/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll b/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
index 7b3b2326467..cc273c3ca53 100644
--- a/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
+++ b/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
@@ -34,8 +34,8 @@ entry:
br i1 %tmp2, label %if, label %else
if: ; preds = %entry
- store i32 1, i32* %a_arg;
- ret i32 0;
+ store i32 1, i32* %a_arg
+ ret i32 0
else: ; preds = %entry
%tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1]
@@ -53,7 +53,7 @@ entry:
br i1 %tmp2, label %if, label %else
if: ; preds = %entry
- ret i32 0;
+ ret i32 0
else: ; preds = %entry
%tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1]
OpenPOWER on IntegriCloud