fix two bogus tests that the asmparser now rejects.
authorChris Lattner <sabre@nondot.org>
Wed, 30 Dec 2009 05:54:51 +0000 (05:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 Dec 2009 05:54:51 +0000 (05:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92303 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GlobalOpt/heap-sra-3.ll
test/Transforms/SimplifyCFG/duplicate-phis.ll

index cbbcdfcaf775529f210c71781405ecab785e9125..e7a877cda446a45b24c9198cebac625460f23397 100644 (file)
@@ -8,7 +8,7 @@ target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:1
 
 define void @bar(i64 %Size) nounwind noinline {
 entry:
-  %mallocsize = mul i64 8, %Size, ; <i64> [#uses=1]
+  %mallocsize = mul i64 8, %Size ; <i64> [#uses=1]
 ; CHECK: mul i64 %Size, 4
   %malloccall = tail call i8* @malloc(i64 %mallocsize) ; <i8*> [#uses=1]
   %.sub = bitcast i8* %malloccall to %struct.foo* ; <%struct.foo*> [#uses=1]
index a1e5113980047372ce634a7265493c4b30e262b2..5129f9fb6d2f63cc5fa52352fe4b20819fc2d194 100644 (file)
@@ -6,7 +6,7 @@
 define i32 @foo(i1 %t) {
 entry:
   call void @bar()
-  br i1 %t, label %true, label %false,
+  br i1 %t, label %true, label %false
 true:
   call void @bar()
   br label %false