Delete useless trailing semicolons.
authorDan Gohman <gohman@apple.com>
Tue, 5 Jan 2010 17:55:26 +0000 (17:55 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 5 Jan 2010 17:55:26 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92740 91177308-0d34-0410-b5e6-96231b3b80d8

57 files changed:
test/Analysis/BasicAA/2007-11-05-SizeCrash.ll
test/Assembler/vector-cmp.ll
test/CodeGen/ARM/private.ll
test/CodeGen/ARM/tail-opts.ll
test/CodeGen/Alpha/private.ll
test/CodeGen/Blackfin/ct32.ll
test/CodeGen/Blackfin/ct64.ll
test/CodeGen/Blackfin/ctlz16.ll
test/CodeGen/Blackfin/ctpop16.ll
test/CodeGen/Blackfin/cttz16.ll
test/CodeGen/CellSPU/dp_farith.ll
test/CodeGen/CellSPU/private.ll
test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll
test/CodeGen/MSP430/bit.ll
test/CodeGen/Mips/private.ll
test/CodeGen/PowerPC/private.ll
test/CodeGen/SPARC/private.ll
test/CodeGen/Thumb2/thumb2-add.ll
test/CodeGen/X86/darwin-bzero.ll
test/CodeGen/X86/extractelement-shuffle.ll
test/CodeGen/X86/mul-legalize.ll
test/CodeGen/X86/private.ll
test/CodeGen/X86/tail-opts.ll
test/CodeGen/X86/vec_shuffle-22.ll
test/CodeGen/X86/vec_shuffle-25.ll
test/CodeGen/X86/vec_shuffle-26.ll
test/CodeGen/X86/widen_select-1.ll
test/CodeGen/X86/widen_shuffle-1.ll
test/CodeGen/X86/widen_shuffle-2.ll
test/CodeGen/XCore/2009-03-27-v2f64-param.ll
test/CodeGen/XCore/private.ll
test/Integer/BitPacked.ll
test/Integer/packed_bt.ll
test/Integer/testvarargs_bt.ll
test/Other/2007-06-28-PassManager.ll
test/Other/2008-02-14-PassManager.ll
test/Other/2008-08-14-PassManager.ll
test/Transforms/DeadArgElim/canon.ll
test/Transforms/DeadStoreElimination/const-pointers.ll
test/Transforms/DeadStoreElimination/no-targetdata.ll
test/Transforms/GVN/null-aliases-nothing.ll
test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
test/Transforms/IPConstantProp/return-argument.ll
test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
test/Transforms/InstCombine/loadstore-alignment.ll
test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
test/Transforms/LoopRotate/PhiRename-1.ll
test/Transforms/PruneEH/simplenoreturntest.ll
test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll
test/Transforms/SimplifyCFG/branch_fold_dbg.ll
test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
test/Transforms/SimplifyCFG/switch_formation.dbg.ll
test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
test/Transforms/TailCallElim/dont_reorder_load.ll
test/Verifier/2006-10-15-AddrLabel.ll

index f0f1535da746b4fa20c4e7d8c7c04b51a5d1108d..f699ba2911c5d8829325ef31ccd38370c70bcad8 100644 (file)
@@ -23,9 +23,9 @@ entry:
 cond_true34:            ; preds = %entry
         %tmp631 = getelementptr %struct.usb_hcd* %hcd, i32 0, i32 2, i64
 2305843009213693950            ; <i64*> [#uses=1]
-        %tmp70 = bitcast i64* %tmp631 to %struct.device**               ;
+        %tmp70 = bitcast i64* %tmp631 to %struct.device**
 
-        %tmp71 = load %struct.device** %tmp70, align 8          ;
+        %tmp71 = load %struct.device** %tmp70, align 8
 
         ret i32 undef
 
index e4d35d9c982805e804ef70ba9b868fe19e99722d..688369bb62b4907ccd0f40733526bc010fa25140 100644 (file)
@@ -9,8 +9,8 @@ entry:
        ret <4 x i1> %cmp
 }
 
-global <4 x i1> icmp slt ( <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> ) ;
+global <4 x i1> icmp slt ( <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> )
 
-@B = external global i32;
+@B = external global i32
 
-global <4 x i1> icmp slt ( <4 x i32> <i32 ptrtoint (i32 * @B to i32), i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> ) ;
+global <4 x i1> icmp slt ( <4 x i32> <i32 ptrtoint (i32 * @B to i32), i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> )
index 03376a4c61b7c29ff714ac53c2064ee4b34f6f8f..fba56b4ffeeb92293a3d680f0effabbda62af6d3 100644 (file)
@@ -12,7 +12,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index 1a867a9d8f8e78fda77e9b95aa2eaed86863c17c..17c8baedbfa89b48565b45e46fd2122d5777acfc 100644 (file)
@@ -9,7 +9,7 @@ declare i1 @qux()
 
 @GHJK = global i32 0
 
-declare i8* @choose(i8*, i8*);
+declare i8* @choose(i8*, i8*)
 
 ; BranchFolding should tail-duplicate the indirect jump to avoid
 ; redundant branching.
index 96ab4eb400ea1457c0a67909d5f800a16ea803f9..26076e0f8d3cda84fd97948ab7e10be2cc8d6681 100644 (file)
@@ -12,7 +12,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index e9b66ebe5772bd8b3d3be4a9e4d88c0759ff508c..363286d4b2f5e6c60e870e50d75799619a2a6c39 100644 (file)
@@ -6,15 +6,15 @@ declare i32 @llvm.ctpop.i32(i32)
 
 define i32 @ctlztest(i32 %B) {
        %b = call i32 @llvm.ctlz.i32( i32 %B )
-       ret i32 %b;
+       ret i32 %b
 }
 
 define i32 @cttztest(i32 %B) {
        %b = call i32 @llvm.cttz.i32( i32 %B )
-       ret i32 %b;
+       ret i32 %b
 }
 
 define i32 @ctpoptest(i32 %B) {
        %b = call i32 @llvm.ctpop.i32( i32 %B )
-       ret i32 %b;
+       ret i32 %b
 }
index ac4bdcffbe957f4d6f0229b23acb52ebcdd4c1de..75024343ea4e35c5733df1e08a9540d2beec05b1 100644 (file)
@@ -6,15 +6,15 @@ declare i64 @llvm.ctpop.i64(i64)
 
 define i64 @ctlztest(i64 %B) {
        %b = call i64 @llvm.ctlz.i64( i64 %B )
-       ret i64 %b;
+       ret i64 %b
 }
 
 define i64 @cttztest(i64 %B) {
        %b = call i64 @llvm.cttz.i64( i64 %B )
-       ret i64 %b;
+       ret i64 %b
 }
 
 define i64 @ctpoptest(i64 %B) {
        %b = call i64 @llvm.ctpop.i64( i64 %B )
-       ret i64 %b;
+       ret i64 %b
 }
index 56a65c05853e001933fdfbd1ac08e795042f7bed..eb4af232cfef248ab0317409de2508efaa9a341c 100644 (file)
@@ -4,15 +4,15 @@ declare i16 @llvm.ctlz.i16(i16)
 
 define i16 @ctlztest(i16 %B) {
        %b = call i16 @llvm.ctlz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 define i16 @ctlztest_z(i16 zeroext %B) {
        %b = call i16 @llvm.ctlz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
 define i16 @ctlztest_s(i16 signext %B) {
        %b = call i16 @llvm.ctlz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
index cbbb3d9831a8006411904b213659be27322d107e..8b6c07ef28a8c5b4003ec41eed5a79029d5384c5 100644 (file)
@@ -4,15 +4,15 @@ declare i16 @llvm.ctpop.i16(i16)
 
 define i16 @ctpoptest(i16 %B) {
        %b = call i16 @llvm.ctpop.i16( i16 %B )         ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 define i16 @ctpoptest_z(i16 zeroext %B) {
        %b = call i16 @llvm.ctpop.i16( i16 %B )         ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
 define i16 @ctpoptest_s(i16 signext %B) {
        %b = call i16 @llvm.ctpop.i16( i16 %B )         ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
index 05fe9bfd446980526632b374b8333e5aa93f0de7..510882ad41fa73026fc77aa9515fb6edb7a11d1c 100644 (file)
@@ -4,15 +4,15 @@ declare i16 @llvm.cttz.i16(i16)
 
 define i16 @cttztest(i16 %B) {
        %b = call i16 @llvm.cttz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 define i16 @cttztest_z(i16 zeroext %B) {
        %b = call i16 @llvm.cttz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
 define i16 @cttztest_s(i16 signext %B) {
        %b = call i16 @llvm.cttz.i16( i16 %B )          ; <i16> [#uses=1]
-       ret i16 %b;
+       ret i16 %b
 }
 
index b0a372beba0de0760889da3556067a0be4db81e3..66bff3eb7835a79f79e9f0ca5be3ab7bac39880a 100644 (file)
@@ -83,7 +83,7 @@ define double @d_fnms_2(double %arg1, double %arg2, double %arg3) {
 ; FNMS: - (a * b - c) => c - (a * b)
 define <2 x double> @d_fnms_vec_1(<2 x double> %arg1, <2 x double> %arg2, <2 x double> %arg3) {
         %A = fmul <2 x double> %arg1,  %arg2
-        %B = fsub <2 x double> %arg3, %A ;
+        %B = fsub <2 x double> %arg3, %A
         ret <2 x double> %B
 }
 
index 7452276ccc8c4510862a5af8da690c4dd25b0e7f..56f72e75b16abd409b70c5df96c01d5338f90722 100644 (file)
@@ -13,7 +13,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index 9a9c1a110d61a9be1dc62f1a97bcbf7da88a8cc6..45b561affffaf437fe4111e9e35894c902766091 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -soft-float
 ; PR3899
 
-@m = external global <2 x double>;
+@m = external global <2 x double>
 
 define double @vector_ex() nounwind {
        %v = load <2 x double>* @m
index 2c7836661ff62d5bbada9a3294062c9d2581403f..cd664a17bf62fbbe47c7447c80387d478a9be609 100644 (file)
@@ -2,8 +2,8 @@
 target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:32"
 target triple = "msp430-generic-generic"
 
-@foo8 = external global i8;
-@bar8 = external global i8;
+@foo8 = external global i8
+@bar8 = external global i8
 
 define i8 @bitbrr(i8 %a, i8 %b) nounwind {
        %t1 = and i8 %a, %b
@@ -83,8 +83,8 @@ define i8 @bitbmm() nounwind {
 ; CHECK: bitbmm:
 ; CHECK: bit.b &bar8, &foo8
 
-@foo16 = external global i16;
-@bar16 = external global i16;
+@foo16 = external global i16
+@bar16 = external global i16
 
 define i16 @bitwrr(i16 %a, i16 %b) nounwind {
        %t1 = and i16 %a, %b
index a1b45c2a63e1adf48b1a1bcf9c866c17d1d0404c..34b75477b68967cde20d41f5bc5cd70adcb7d18e 100644 (file)
@@ -12,7 +12,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index d6e67708ac25c0501eb0bace887aae4933c22793..f9405f6af2ffe46c2dc25c3a2b40491fdd426747 100644 (file)
@@ -15,7 +15,7 @@ define private void @foo() nounwind {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() nounwind {
         call void @foo()
index 8fa3e7e52d8d8641a9b458dbba6324d94df46c45..f091aa63d70d939549cf8fe2559f17e988a0ddfc 100644 (file)
@@ -12,7 +12,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index d42ea7138e465bca24ebd429dd4c194146137904..5e25cf64bccbd722032682143d1678f8e44dc0d2 100644 (file)
@@ -8,43 +8,43 @@
 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep add | grep lsl | grep #8
 
 define i32 @t2ADDrc_255(i32 %lhs) {
-    %Rd = add i32 %lhs, 255;
+    %Rd = add i32 %lhs, 255
     ret i32 %Rd
 }
 
 define i32 @t2ADDrc_256(i32 %lhs) {
-    %Rd = add i32 %lhs, 256;
+    %Rd = add i32 %lhs, 256
     ret i32 %Rd
 }
 
 define i32 @t2ADDrc_257(i32 %lhs) {
-    %Rd = add i32 %lhs, 257;
+    %Rd = add i32 %lhs, 257
     ret i32 %Rd
 }
 
 define i32 @t2ADDrc_4094(i32 %lhs) {
-    %Rd = add i32 %lhs, 4094;
+    %Rd = add i32 %lhs, 4094
     ret i32 %Rd
 }
 
 define i32 @t2ADDrc_4095(i32 %lhs) {
-    %Rd = add i32 %lhs, 4095;
+    %Rd = add i32 %lhs, 4095
     ret i32 %Rd
 }
 
 define i32 @t2ADDrc_4096(i32 %lhs) {
-    %Rd = add i32 %lhs, 4096;
+    %Rd = add i32 %lhs, 4096
     ret i32 %Rd
 }
 
 define i32 @t2ADDrr(i32 %lhs, i32 %rhs) {
-    %Rd = add i32 %lhs, %rhs;
+    %Rd = add i32 %lhs, %rhs
     ret i32 %Rd
 }
 
 define i32 @t2ADDrs(i32 %lhs, i32 %rhs) {
     %tmp = shl i32 %rhs, 8
-    %Rd = add i32 %lhs, %tmp;
+    %Rd = add i32 %lhs, %tmp
     ret i32 %Rd
 }
 
index a3c1e6f0c5549e6bb5b325f0bdd8876e1e76fc3f..a9573cfc6a2acea6aa397dc92b8adef296c8ce79 100644 (file)
@@ -3,6 +3,6 @@
 declare void @llvm.memset.i32(i8*, i8, i32, i32)
 
 define void @foo(i8* %p, i32 %len) {
-  call void @llvm.memset.i32(i8* %p, i8 0, i32 %len, i32 1);
+  call void @llvm.memset.i32(i8* %p, i8 0, i32 %len, i32 1)
   ret void
 }
index 12a2ef30e17ed61cfcbc335bd330173b1b5691a2..d1ba9a845800df3f960eee7e1afcd7d15d7f7472 100644 (file)
@@ -6,8 +6,8 @@
 ; through the 3rd mask element, which doesn't exist.
 define i32 @update(<2 x i64> %val1, <2 x i64> %val2) nounwind readnone {
 entry:
-       %shuf = shufflevector <2 x i64> %val1, <2 x i64> %val2, <2 x i32> <i32 0, i32 3>;
-       %bit  = bitcast <2 x i64> %shuf to <4 x i32>;
-       %res =  extractelement <4 x i32> %bit, i32 3;
-       ret i32 %res;
-}
\ No newline at end of file
+       %shuf = shufflevector <2 x i64> %val1, <2 x i64> %val2, <2 x i32> <i32 0, i32 3>
+       %bit  = bitcast <2 x i64> %shuf to <4 x i32>
+       %res =  extractelement <4 x i32> %bit, i32 3
+       ret i32 %res
+}
index eca9e6f436c29bbf0f391e4145e84600127ae0c2..069737d4d10da585a9862905d86901a3c3b815e8 100644 (file)
@@ -19,6 +19,6 @@ return:
        ret void
 }
 
-declare i1 @report__equal(i32 %x, i32 %y) nounwind;
+declare i1 @report__equal(i32 %x, i32 %y) nounwind
 
 declare void @abort()
index 22b6f35a70ef1c08eaadd7d4433f82aef1016103..f52f8c7af8c161137c4f626eab1c0ad03f4fdbd3 100644 (file)
@@ -11,7 +11,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index 8c3cae9e8d4ce5db07e0523e54c86d09e71868d9..c5dbb04a051b5f356530628ef6ea10c2864d8e02 100644 (file)
@@ -55,7 +55,7 @@ altret:
   ret void
 }
 
-declare i8* @choose(i8*, i8*);
+declare i8* @choose(i8*, i8*)
 
 ; BranchFolding should tail-duplicate the indirect jump to avoid
 ; redundant branching.
index 1cf37d4b9ba99fde3985840f280be211fdb005b5..6807e4d639092a40dfb8b41386fb5e1b0fe90612 100644 (file)
@@ -9,7 +9,7 @@ define <4 x float> @t1(<4 x float> %a) nounwind  {
 define <4 x i32> @t2(<4 x i32>* %a) nounwind {
 ; CHECK: pshufd
 ; CHECK: ret
-  %tmp1 = load <4 x i32>* %a;
+  %tmp1 = load <4 x i32>* %a
        %tmp2 = shufflevector <4 x i32> %tmp1, <4 x i32> undef, <4 x i32> < i32 0, i32 1, i32 0, i32 1 >                ; <<4 x i32>> [#uses=1]
        ret <4 x i32> %tmp2
 }
index 2aa2d252849ca6069a6385cbf9027ce146c9f66c..d9b2388809aab33618ae66cc137764cb06eb4cbd 100644 (file)
@@ -19,16 +19,16 @@ entry:
        %unpcklps8 = shufflevector <4 x float> %p1, <4 x float> %p3, <4 x i32> < i32 0, i32 4, i32 1, i32 5 >           ; <<4 x float>> [#uses=2]
        %unpckhps11 = shufflevector <4 x float> %p1, <4 x float> %p3, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >          ; <<4 x float>> [#uses=2]
        %unpcklps14 = shufflevector <4 x float> %unpcklps, <4 x float> %unpcklps8, <4 x i32> < i32 0, i32 4, i32 1, i32 5 >             ; <<4 x float>> [#uses=1]
-       %unpcklps14a = shufflevector <4 x float> %unpcklps14,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+       %unpcklps14a = shufflevector <4 x float> %unpcklps14,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
        %unpckhps17 = shufflevector <4 x float> %unpcklps, <4 x float> %unpcklps8, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >             ; <<4 x float>> [#uses=1]
-       %unpckhps17a = shufflevector <4 x float> %unpckhps17,  <4 x float> undef, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>;         
-       %r1 = shufflevector <16 x float> %unpcklps14a,  <16 x float> %unpckhps17a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 16, i32 17, i32 18, i32 19, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
+       %unpckhps17a = shufflevector <4 x float> %unpckhps17,  <4 x float> undef, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+       %r1 = shufflevector <16 x float> %unpcklps14a,  <16 x float> %unpckhps17a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 16, i32 17, i32 18, i32 19, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
        %unpcklps20 = shufflevector <4 x float> %unpckhps, <4 x float> %unpckhps11, <4 x i32> < i32 0, i32 4, i32 1, i32 5 >            ; <<4 x float>> [#uses=1]
-       %unpcklps20a = shufflevector <4 x float> %unpcklps20,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
-       %r2 = shufflevector <16 x float> %r1,  <16 x float> %unpcklps20a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 19, i32 12, i32 13, i32 14, i32 15>
+       %unpcklps20a = shufflevector <4 x float> %unpcklps20,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+       %r2 = shufflevector <16 x float> %r1,  <16 x float> %unpcklps20a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 19, i32 12, i32 13, i32 14, i32 15>
        %unpckhps23 = shufflevector <4 x float> %unpckhps, <4 x float> %unpckhps11, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >            ; <<4 x float>> [#uses=1]
-       %unpckhps23a = shufflevector <4 x float> %unpckhps23,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
-       %r3 = shufflevector <16 x float> %r2,  <16 x float> %unpckhps23a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 16, i32 17, i32 18, i32 19>
-       %r4 = shufflevector <16 x float> %r3,  <16 x float> undef, <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-       ret <8 x float> %r4;
+       %unpckhps23a = shufflevector <4 x float> %unpckhps23,  <4 x float> undef,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+       %r3 = shufflevector <16 x float> %r2,  <16 x float> %unpckhps23a, <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 16, i32 17, i32 18, i32 19>
+       %r4 = shufflevector <16 x float> %r3,  <16 x float> undef, <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+       ret <8 x float> %r4
 }
index 8cc15d1e7c27a21c9db187c570801879fd6028d9..086af6bb114b7070e9ad97f9b92ee77de0ed0be8 100644 (file)
@@ -20,10 +20,10 @@ entry:
        %unpckhps11 = shufflevector <4 x float> %p1, <4 x float> %p3, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >          ; <<4 x float>> [#uses=2]
        %unpcklps14 = shufflevector <4 x float> %unpcklps, <4 x float> %unpcklps8, <4 x i32> < i32 0, i32 4, i32 1, i32 5 >             ; <<4 x float>> [#uses=1]
        %unpckhps17 = shufflevector <4 x float> %unpcklps, <4 x float> %unpcklps8, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >             ; <<4 x float>> [#uses=1]
-        %r1 = shufflevector <4 x float> %unpcklps14,  <4 x float> %unpckhps17,  <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >
+        %r1 = shufflevector <4 x float> %unpcklps14,  <4 x float> %unpckhps17,  <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >
        %unpcklps20 = shufflevector <4 x float> %unpckhps, <4 x float> %unpckhps11, <4 x i32> < i32 0, i32 4, i32 1, i32 5 >            ; <<4 x float>> [#uses=1]
        %unpckhps23 = shufflevector <4 x float> %unpckhps, <4 x float> %unpckhps11, <4 x i32> < i32 2, i32 6, i32 3, i32 7 >            ; <<4 x float>> [#uses=1]
-        %r2 = shufflevector <4 x float> %unpcklps20,  <4 x float> %unpckhps23,  <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >;
+        %r2 = shufflevector <4 x float> %unpcklps20,  <4 x float> %unpckhps23,  <8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >
 ;       %r3 = shufflevector <8 x float> %r1,  <8 x float> %r2,  <16 x i32> < i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15 >; 
-       ret <8 x float> %r2;
+       ret <8 x float> %r2
 }
index 4154433fa70489eddfadd8e6a2a679c7c965b953..d9de892933e01a3526118e6a5e97a1150c60b1bd 100644 (file)
@@ -6,7 +6,7 @@
 define void @select(i1 %c, <6 x i32>* %dst.addr, <6 x i32> %src1,<6 x i32> %src2) nounwind {
 entry:
        %x = select i1 %c, <6 x i32> %src1, <6 x i32> %src2
-       %val = sub <6 x i32> %x, < i32 1, i32 1, i32 1, i32 1, i32 1, i32 1 >;
+       %val = sub <6 x i32> %x, < i32 1, i32 1, i32 1, i32 1, i32 1, i32 1 >
        store <6 x i32> %val, <6 x i32>* %dst.addr
        ret void
 }
index dd02241c1dd6353744173cf941bfae8456a07355..47dba4b4a04b3a7cdcd76d3a892e2200497f6546 100644 (file)
@@ -7,7 +7,7 @@
 define void @shuf(<3 x float>* %dst.addr, <3 x float> %src1,<3 x float> %src2) nounwind {
 entry:
        %x = shufflevector <3 x float> %src1, <3 x float> %src2, <3 x i32> < i32 0, i32 1, i32 2>
-       %val = fadd <3 x float> %x, %src2;
+       %val = fadd <3 x float> %x, %src2
        store <3 x float> %val, <3 x float>* %dst.addr
        ret void
 }
index d097e4142bcccc20efc6fbd43d3a3f2e184f197e..9374a028631d2e5d93b4ead71d9c995cd17cd4c7 100644 (file)
@@ -7,7 +7,7 @@
 define void @shuf(<3 x float>* %dst.addr, <3 x float> %src1,<3 x float> %src2) nounwind {
 entry:
        %x = shufflevector <3 x float> %src1, <3 x float> %src2, <3 x i32> < i32 0, i32 4, i32 2>
-       %val = fadd <3 x float> %x, %src2;
+       %val = fadd <3 x float> %x, %src2
        store <3 x float> %val, <3 x float>* %dst.addr
        ret void
 }
index a6b9699987eb606892ada8e0525214d9f1a00173..e35a36a8a159d621aa2d66e23adbebe8e31352d5 100644 (file)
@@ -2,5 +2,5 @@
 ; PR3898
 
 define i32 @vector_param(<2 x double> %x) nounwind {
-       ret i32 1;
+       ret i32 1
 }
index 9a2f5b32dc391bfbce7d2edc04d47f3d5ccdb974..c595a6df4950fc07a58feb63186ae9a678c54993 100644 (file)
@@ -12,7 +12,7 @@ define private void @foo() {
         ret void
 }
 
-@baz = private global i32 4;
+@baz = private global i32 4
 
 define i32 @bar() {
         call void @foo()
index d363a81e7344ed8b55decdf8bb2f97fd8a4ca6b2..e6e453ab0c24f94bf981bdff407f9d29c720c7cd 100644 (file)
@@ -2,8 +2,8 @@
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-@foo1 = external global <4 x float>;
-@foo2 = external global <2 x i10>;
+@foo1 = external global <4 x float>
+@foo2 = external global <2 x i10>
 
 
 define void @main() 
index 5a2045d6a296cd25d101f014a1277e1451730d1b..f6ea87ce6ce31ea14266cfb1f2959c22474845b2 100644 (file)
@@ -2,8 +2,8 @@
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-@foo1 = external global <4 x float>;
-@foo2 = external global <2 x i10>;
+@foo1 = external global <4 x float>
+@foo2 = external global <2 x i10>
 
 
 define void @main() 
index a645c84ef3e46f6b5923c71de1ab1a078c2de751..3227d145392e2b4c6452e41b61fd301298652f57 100644 (file)
@@ -7,7 +7,7 @@ declare i31 @"printf"(i8*, ...)   ;; Prototype for: i32 __builtin_printf(const c
 
 define i31 @"testvarar"()
 begin
-       call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42);
+       call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42)
        ret i31 %1
 end
 
index f097f59d1c2d752904d10d6cbc96e4d46260f3e0..f162a40fbca3a75f132681cb979a31fb5279ee24 100644 (file)
@@ -3,5 +3,5 @@
 ; RUN: opt < %s -analyze -indvars -disable-output
 ; PR1539
 define i32 @test1() {
-       ret i32 0;
+       ret i32 0
 }
index 6b51edb134543cef630bc331909acce444115c11..bdaf9330d23831d971e299f744cf81888ec16001 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt < %s -loop-unroll -loop-rotate -simplifycfg -disable-output
 ; PR2028
 define i32 @test1() {
-       ret i32 0;
+       ret i32 0
 }
index 22a421d2f18d24517cab48695564e88ad2df0ec5..8d6a6d825f10e75d0614e76e6a81a93bff7d5e5a 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt < %s -loop-deletion -loop-index-split -disable-output
 ; PR2640
 define i32 @test1() {
-       ret i32 0;
+       ret i32 0
 }
index 025a46a5dfeb8037e55a4e99cfa354ef0a01a8f9..11cd482b7b2888ed4fb3c0de3c4e7327ca0661ed 100644 (file)
@@ -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
index ce3b24c996fd68a3eea713487b8a14804e154b1b..728a118944d6636c6c572e179a3f2fccf9bfb8e8 100644 (file)
@@ -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
index 42c4e1bf6ea3ae5a15d3a2c75a4f5f0134345661..7e8f52a085bf87e25be01424a0e997b2f37b0e43 100644 (file)
@@ -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
+}
index bc5c850e5f20e74c61cebcd14796e238e2601f1a..4d533bbc406439a7c4db824669d96e95d57219fb 100644 (file)
@@ -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
index 5fe89ee09846f2f3e30ad23af5001187c231249c..f794e9f96b1846ca7b2a67cbdcc9a00695ca11f5 100644 (file)
@@ -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]
index 0223453fa1775cf48f9c6c4b5f7aaef267f3dc14..6d6eb24cf5425c8c3f2d6caa6688807f0ac480ec 100644 (file)
@@ -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
index 08d4dc693a41ebb9e82137cef5664a32ce67a72e..979157ebc8b4016a4306d3b22a5c57c7c499abab 100644 (file)
@@ -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
 }
index 9fbe683068b1f34a9c40aca73577d53b5b72df66..1d932d27f78d79a58a0a9e540f624e9f2077d6f9 100644 (file)
@@ -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
 }
index 09a6423bc0c3042d701a673e57e2333cc75a56ea..4ab95fcb3817ad2570bd1c90356a443463af7d4f 100644 (file)
@@ -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]
index a7326fa5988f0ccc5341501a9ddd5f402d3bb28f..74426a8ee2b2e13ce7b38f4c62884b994424ef84 100644 (file)
@@ -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]
index 6cdd42fff8493fed3c1d31ef885eb71183313554..61e2f15c0d0a13b66bece0120cec35223177eb51 100644 (file)
@@ -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( )
index 725a9b6d9c75984c35b401f7934552edea56b801..62f7d19dbdabb9b8bc2d8bf57afae37b81de7627 100644 (file)
@@ -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
index 577d65013e5e8bdbb508df36c12938cfbf7cecd8..af59ba04f4418e14aa14c457ed395819a538f68c 100644 (file)
@@ -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]
index 9caa9a1a0fb212c74816e2539d6eb1427918ed13..db56fdba73f670c7f28278f43656513e7726efdd 100644 (file)
@@ -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]
index c91a87ef0838d35bd2c5d0d2847dc521bc72e425..6a500de6b0a41c5e89415620ed15ef960c49e75b 100644 (file)
@@ -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]
index 2e7ef7a8dfbaa5f5ac60972f4229c85dabb2910d..6fbbb1b19f36a9df72fb35ca75239abb7a09c86a 100644 (file)
@@ -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]
index f5f4c935a365f49570efabc2d91bf3de9f787e26..f1c820ec43be9641d4a70931a43a18c281d67384 100644 (file)
@@ -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]
index 3a6c2ed6680c7358346890cf6161fdd2b5dd9603..01041eb7db58be371b51a92c324fc271582ad6e2 100644 (file)
@@ -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]
index 7b3b2326467af9c30248f1daa55d8ee5b72813a7..cc273c3ca53db2bf270bff5ce94704d49856518a 100644 (file)
@@ -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]
index 73b69024c77728bdcbb977aa96d7c721d9b19c3b..0b73b47893c5845ef5022585ba542973fd4a8e6d 100644 (file)
@@ -4,5 +4,5 @@ define i32 @main() {
          %foo  = call i8* %llvm.stacksave()
          %foop = bitcast i8* %foo to label*
          %nret = load label* %foop
-         br label %nret;
+         br label %nret
 }