[llvm-commits] [llvm] r92303 - in /llvm/trunk/test/Transforms: GlobalOpt/heap-sra-3.ll SimplifyCFG/duplicate-phis.ll

Chris Lattner sabre at nondot.org
Tue Dec 29 21:54:51 PST 2009


Author: lattner
Date: Tue Dec 29 23:54:51 2009
New Revision: 92303

URL: http://llvm.org/viewvc/llvm-project?rev=92303&view=rev
Log:
fix two bogus tests that the asmparser now rejects.

Modified:
    llvm/trunk/test/Transforms/GlobalOpt/heap-sra-3.ll
    llvm/trunk/test/Transforms/SimplifyCFG/duplicate-phis.ll

Modified: llvm/trunk/test/Transforms/GlobalOpt/heap-sra-3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/heap-sra-3.ll?rev=92303&r1=92302&r2=92303&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/GlobalOpt/heap-sra-3.ll (original)
+++ llvm/trunk/test/Transforms/GlobalOpt/heap-sra-3.ll Tue Dec 29 23:54:51 2009
@@ -8,7 +8,7 @@
 
 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]

Modified: llvm/trunk/test/Transforms/SimplifyCFG/duplicate-phis.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/duplicate-phis.ll?rev=92303&r1=92302&r2=92303&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/duplicate-phis.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/duplicate-phis.ll Tue Dec 29 23:54:51 2009
@@ -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





More information about the llvm-commits mailing list